| Issue 2489: | Search for changes created or updated within date range | |
| 2 people starred this issue and may be notified of changes. | Back to list |
I have been looking for ways to query changes, and found that the only way to query a change by time is the "age" parameter. The query syntax currently lacks a good way to search by a date or range, but such a feature would be helpful (though the same thing is possible through the database). Basically, operators like "createdbefore", "createdafter", "updatedbefore" "updatedafter" (and the appropriate negation operators). Being able to join these should be able to create a query such as "reviews created in the last year" or "reviews closed in this month".
Feb 19, 2014
#1
dborowitz@google.com
Feb 20, 2014
Nice! Thanks for the info, Dave!
Apr 30, 2014
Support is kind of there (it's there in the index at least) but is currently still pretty broken. First, JGit's GitDateParser is...not so great. See my comments upstream: https://git.eclipse.org/r/7390 Second, the only supported format (assuming you're lucky enough to have typed in a format that won't be silently ignored by GitDateParser) is UTC. Which is fine for tools using the REST API directly, but is confusing in the web UI, which automatically converts all times on the client side to the browser timezone. A currently-stalled attempt at fixing this is in https://gerrit-review.googlesource.com/54843 |
|
| ► Sign in to add a comment |