[wp-trac] [WordPress Trac] #41782: Using date_query with 'before' in WP_Query returns wrong timezone
WordPress Trac
noreply at wordpress.org
Mon Jun 3 07:30:23 UTC 2019
#41782: Using date_query with 'before' in WP_Query returns wrong timezone
--------------------------------------+------------------------------
Reporter: Biranit | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 4.8.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by Rarst):
* keywords: => has-patch has-unit-tests
Comment:
I couldn't reproduce timezone shift as described, but there are
''definitely'' time zone issues in there.
Attached a patch that improves unit tests coverage for different cases and
handling of arbitrary input.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41782#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list