[wp-trac] [WordPress Trac] #10940: Default timezone should be set for PHP5

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 21:28:00 UTC 2009


#10940: Default timezone should be set for PHP5
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  high          |    Milestone:  2.9     
Component:  Date/Time     |      Version:          
 Severity:  critical      |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by dd32):

 The problem with calling that function, is it sets it to an incorrect
 timezone.

 You cant assume a server is running in UTC time. Eg, yours throws up "We
 selected 'America/Los_Angeles' for '-7.0/DST'".. Which if it were set to
 UTC, would cause incorrect times in calculations?

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


More information about the wp-trac mailing list