[wp-trac] [WordPress Trac] #11665: UTC Time Zone Set in wp-settings affects items in header

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 20:41:08 UTC 2009


#11665: UTC Time Zone Set in wp-settings affects items in header
--------------------------+-------------------------------------------------
 Reporter:  iacas         |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.9.1                  
Component:  Date/Time     |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 this seems to work, however, and it might be better than the current code:

 {{{
 date_default_timezone_set(ini_get('date.timezone') ?
 ini_get('date.timezone') : 'UTC');
 }}}

 it might fix the follow-up calendar bug that is only partially fixed, too.

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


More information about the wp-trac mailing list