[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
Tue Jul 29 21:42:42 UTC 2014


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

Comment (by buley):

 Those are my exact feelings as well, Bira. And I also apologize for my
 delay in response.

 We use WordPress as part of a larger PHP-based platform. It seems like a
 shame to "force" what seems like WordPress-specific need on the rest of
 our codebase. But following adamsilverstein's very kind advice that's what
 we had to do in order to prevent our revision dates from time-traveling.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25365#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list