[wp-trac] [WordPress Trac] #31809: get_date_from_gmt returns time=zero when timezone is not set
WordPress Trac
noreply at wordpress.org
Wed May 29 16:52:02 UTC 2019
#31809: get_date_from_gmt returns time=zero when timezone is not set
--------------------------------------+------------------------------
Reporter: goodevilgenius | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 3.6
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by Rarst):
* keywords: reporter-feedback => has-patch has-unit-tests
Comment:
I have added unit tests and rewrote all three of date converting
functions. They were definitely pretty broken before.
I've kept the "zero" date return case, because, well, it's in there and I
don't know what out there might be possibly relying on it by now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31809#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list