[wp-trac] [WordPress Trac] #11558: timezone reset

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 21:42:34 UTC 2009


#11558: timezone reset
--------------------------+-------------------------------------------------
 Reporter:  bl968         |       Owner:                                
     Type:  defect (bug)  |      Status:  new                           
 Priority:  normal        |   Milestone:  2.9.1                         
Component:  Date/Time     |     Version:  2.9                           
 Severity:  major         |    Keywords:  timezone, reset, default value
--------------------------+-------------------------------------------------

Comment(by ryan):

 To summarize, if you have date.timezone set in php.ini, both 2.8 and 2.9
 are broken. If you do not, then only 2.9 is broken since it calls
 date_default_timezone_set() to set the default zone.  If you are running
 2.9 and do not have date.timezone set in php.ini, you can workaround this
 problem by removing the following from wp-settings.php:

 {{{
 if ( function_exists('date_default_timezone_set') )
         date_default_timezone_set('UTC');
 }}}

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


More information about the wp-trac mailing list