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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 20:37:15 UTC 2010


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

Comment(by arena):

 Replying to [comment:1 scribu]:
 > The second one appears to be correct, so what's the problem?
 >
 > It's probably the effect of [12727]

 My PHP settings are (php.ini)

 {{{
 [Date]
 ; Defines the default timezone used by the date functions
 date.timezone =Europe/Paris
 }}}

 and my wordpress settings are :

 Timezone : Paris which is equivalent to UTC+2
 UTC time is 2010-04-07 20:34:07  Local time is 2010-04-07 22:34:07

 The first is the right one (http://fr.php.net/mktime).

 so the 04/08/2010 00:00 local time is 07/04/2010 22:00:00 GMT

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


More information about the wp-trac mailing list