[wp-trac] [WordPress Trac] #41782: Using date_query with 'before' in WP_Query returns wrong timezone
WordPress Trac
noreply at wordpress.org
Sun Sep 3 01:16:15 UTC 2017
#41782: Using date_query with 'before' in WP_Query returns wrong timezone
--------------------------+------------------------------
Reporter: Biranit | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 4.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Biranit):
@birgire actually you are absolutely right! I tinkered with the query and
ensured it only uses Y-m-d H:i -- and indeed that works...
So many thanks for the easy fix to my code.
But surely this has to be addressed by WordPress anyway?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41782#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list