[wp-trac] [WordPress Trac] #38641: Support partial ISO8601 dates in queries
WordPress Trac
noreply at wordpress.org
Thu Nov 3 02:09:42 UTC 2016
#38641: Support partial ISO8601 dates in queries
-------------------------+------------------------------
Reporter: rmccue | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by rmccue):
Replying to [comment:1 joehoyle]:
> If these go to before and after values, does that mean that `?date=2014`
returns all posts after 2014? I presume someone would mean "only get posts
from 2014" with that?
Note: "and"
`date=2014` would map to
`after=2013-12-31T23:59:59&before=2015-01-01T00:00:00`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38641#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list