[wp-gsoc] [Summer of Code] #345: parse_date() doesn't accept ISO8601 dates with milliseconds
Summer of Code
noreply at wordpress.org
Wed Aug 7 04:15:30 UTC 2013
#345: parse_date() doesn't accept ISO8601 dates with milliseconds
------------------------------+---------------------------
Reporter: rmccue | Type: defect
Status: new | Priority: normal
Milestone: 2013 Final (1.0) | Component: JSON REST API
Keywords: |
------------------------------+---------------------------
Javascript's Date.toISOString() emits IS8601 extended format strings.
Unfortunately, this includes millisecond precision, which PHP's RFC3339
format doesn't know about.
Thankfully, we don't care about this, so we can simply strip milliseconds.
--
Ticket URL: <http://gsoc.trac.wordpress.org/ticket/345>
Summer of Code <http://gsoc.trac.wordpress.org>
My example project
More information about the wp-gsoc
mailing list