[wp-trac] Re: [WordPress Trac] #3962: XML-RPC Incorrectly Handles New Daylight Savings Time

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 12 20:21:44 GMT 2007


#3962: XML-RPC Incorrectly Handles New Daylight Savings Time
------------------------------+---------------------------------------------
 Reporter:  iacas             |        Owner:  anonymous
     Type:  defect            |       Status:  new      
 Priority:  normal            |    Milestone:           
Component:  XML-RPC           |      Version:  2.1.2    
 Severity:  normal            |   Resolution:           
 Keywords:  reporter-feeback  |  
------------------------------+---------------------------------------------
Comment (by Otto42):

 Part of the problem is described by westi (the user needs the ability to
 be in a different timezone than the server) and part of the problem is
 that the timezone stuff in PHP versions earlier than PHP5 is quite weak.

 It would be nice to abstract the timezone handling out into some functions
 so that we could include support for the date_default_timezone_set() stuff
 for PHP5 systems, and continue with the existing support for PHP4 systems.
 This would allow it to handle DST changes automatically (assuming the
 system itself supported it correctly). Timezones would need to be a string
 from a big list, like "America/Chicago" and so forth (full list here:
 http://php.net/manual/en/timezones.php ).

 It might also be able to support this sort of thing for PHP4 by using the
 putenv('TZ=...') workaround.

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


More information about the wp-trac mailing list