[wp-trac] [WordPress Trac] #25365: timeAgo attribute for revisions produces the wrong result due to missing UTC in strtotime

WordPress Trac noreply at wordpress.org
Sun Sep 29 04:26:43 UTC 2013


#25365: timeAgo attribute for revisions produces the wrong result due to missing
UTC in strtotime
--------------------------+------------------------------
 Reporter:  biranit       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Revisions     |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 We specifically do `date_default_timezone_set( 'UTC' );` in wp-
 settings.php, which means I'm pretty sure strtotime() should never be
 GMT+3.

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


More information about the wp-trac mailing list