[wp-trac] [WordPress Trac] #12894: mktime inconsistent between 2.9 and 3.0

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 8 00:15:27 UTC 2010


#12894: mktime inconsistent between 2.9 and 3.0
-------------------------------+--------------------------------------------
 Reporter:  arena              |        Owner:  arena   
     Type:  defect (bug)       |       Status:  reopened
 Priority:  normal             |    Milestone:          
Component:  General            |      Version:  3.0     
 Severity:  normal             |   Resolution:          
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------

Comment(by ryan):

 3.0 sets the timezone used by PHP to UTC.  If you want local time you have
 to use current_time().  See [12727].

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


More information about the wp-trac mailing list