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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 21:57: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:  2.9     
 Severity:  critical      |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * version:  => 2.9


Comment:

 > Sure. But then again we make the assumption in WP (in current_time())
 that time() returns UTC time indeed. The suggested patch actually enforces
 this.

 And in the case where servers have defined it correctly?

 I'm all for closing this.. But i just think theres a reason why PHP doesnt
 default to UTC, because it knows this ISNT UTC time.

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


More information about the wp-trac mailing list