[wp-trac] [WordPress Trac] #41782: Using date_query with 'before' in WP_Query returns wrong timezone
WordPress Trac
noreply at wordpress.org
Thu Aug 22 03:10:14 UTC 2019
#41782: Using date_query with 'before' in WP_Query returns wrong timezone
--------------------------------------+-----------------------------
Reporter: Biranit | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Date/Time | Version: 4.8.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45876" 45876]:
{{{
#!CommitTicketReference repository="" revision="45876"
Date/Time: Use `wp_timezone()` in `WP_Date_Query::build_mysql_datetime()`
to address timezone issues.
Improve unit test coverage.
Props Rarst, Biranit, birgire, jave.web, SergeyBiryukov.
Fixes #41782.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41782#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list