[wp-trac] Re: [WordPress Trac] #3995: Xml-Rpc dateTime inaccurate

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 8 08:14:52 GMT 2007


#3995: Xml-Rpc dateTime inaccurate
-------------------------------------+--------------------------------------
 Reporter:  whilo                    |        Owner:  rob1n   
     Type:  defect                   |       Status:  assigned
 Priority:  normal                   |    Milestone:  2.2     
Component:  XML-RPC                  |      Version:  2.0.9   
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by westi):

 Replying to [comment:10 rob1n]:
 > In my second patch, it's all UTC, and uses strtotime() instead for a
 more extensible approach.

 I'm not convinced this is the correct approach as we now lose the timezone
 offset info provided in the iso8601 formatted string.

 I think I prefer the first option or reuse the preg_match in
 iso8601_to_datetime in wp-includes/formatting.php

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3995#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list