[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
Fri Sep 8 20:30:32 UTC 2017
#25365: timeAgo attribute for revisions produces the wrong result due to missing
UTC in strtotime
------------------------------------+------------------------------
Reporter: biranit | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version: 3.6.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by Biranit):
I would like to revive this ticket. On a completely clean install, with no
intervention in WordPress's timezone management, the revisions continue to
show the wrong time (adding 3 hours to them).
Time on server is UTC+3
Timezone set in WordPress options is Jerusalem.
No other time is set in functions.php or elsehwhere.
And yet a revision from 15 minutes ago displays as being from 3 hours and
15 minutes ago; a revision from 1 hour ago shows as being from 4 hours
ago, etc.
Can't this be fixed? it's such a simple fix and it's been this way for
four years now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25365#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list