[wp-trac] Re: [WordPress Trac] #4994: Default Timezone settings

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 19:22:49 GMT 2007


#4994: Default Timezone settings
--------------------------+-------------------------------------------------
 Reporter:  redbeard0x0a  |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:           
Component:  General       |      Version:  2.3      
 Severity:  major         |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by santosj):

 Should be mentioned that this is a PHP >5.2 setup.

 this can be solved in wp-settings.php

 {{{
 if (PHP5) {
   date_timezone_set('UTC');
 }
 }}}

 And only on hosts that don't already set this value.

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


More information about the wp-trac mailing list