[wp-trac] [WordPress Trac] #16495: Make iso8601_to_datetime a bit more compliant

WordPress Trac noreply at wordpress.org
Fri Aug 9 07:28:21 UTC 2013


#16495: Make iso8601_to_datetime a bit more compliant
----------------------------------------+------------------------------
 Reporter:  chrisscott                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Formatting                  |     Version:  3.0.5
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------------------
Changes (by dd32):

 * keywords:  has-patch => has-patch needs-unit-tests


Comment:

 This function doesn't handle 90% of the iso8601 formats it seems, for
 example, it chokes on something as basic as '2013-08-09T00:31:38Z' (even
 with the patch).

 This needs serious unit tests and a patch that handles it as such.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/16495#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list