[wp-trac] [WordPress Trac] #48660: Date/Time component malfunctioning after 5.3 update.
WordPress Trac
noreply at wordpress.org
Tue Dec 3 22:02:29 UTC 2019
#48660: Date/Time component malfunctioning after 5.3 update.
--------------------------+------------------------------
Reporter: hannahmussey | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.3
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by ericr23):
Our time zone is set to "New York" (UTC-5). A post published on Dec. 1 at
20:24 local time shows the permalink correctly as …/12/01/…, but on the
index page, the_permalink() incorrectly returns …/12/02/… whereas the
the_time() correctly returns 12/01.
In the RSS2 feed, the pubDate is 02 Dec 2019 01:24:30 +0000 and
the_permalink_rss() correctly returns …/12/01/…
Changing the publish time to 18:24 resolves the discrepancies by keeping
it more than 5 hours before midnight, but that's obviously just a
workaround.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48660#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list