[wp-trac] [WordPress Trac] #43269: Get_The_Date return incorrect Unix Timestamp
WordPress Trac
noreply at wordpress.org
Mon Mar 12 14:36:43 UTC 2018
#43269: Get_The_Date return incorrect Unix Timestamp
--------------------------+------------------------------
Reporter: szarcensky | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Rarst):
This is unfixable since other WP functions rely on receiving such
incorrect "WordPress timestamp", most prominently `date_i18n()`. So it's a
closed circle of incorrect output matching with incorrect input to produce
"correct" result.
So this can be neither fixed or prevented from happening, without
producing chain reaction of breakage.
Addressing this would take complete Date/Time component rewrite.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43269#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list