Date filter (Filter)
Used in various places when filtering and searching by dates: Date of translation text, status change, comment addition, etc.
For example, a date range is expressed as follows:
"(date property)" : {
"min": "2018-10-1T00:00:00Z",
"max": "2018-11-1T00:00:00Z"
}
OPTIONS
The date filter has many more options:
min: Optional earliest inclusive date/time (ISO format).
max: Optional latest exclusive date/time. The change date must be before "max".
minx: Optional boolean, default is false. If true the minimum value is exclusive (greater than) otherwise inclusive (greater or equal than)
maxx: Optional boolean, default is false. If true the maximum value is exclusive (less than) otherwise inclusive (less or equal than)
minutes: Optional. Find texts changed since this number of minutes.
hours: Optional. Find texts changed since this number of minutes.
days: Optional. Find texts changed since this number of days (24 hours * days).
Note: Specify either min/max or minutes/hours/days.
Periods are accumulated. The following finds texts changed the last 3 days:
EXAMPLES
Get all dates at or after 1 day plus 48 hours ago (= 3 days):
"(date property)": { "hours": 48, "days": 1 }
Find changes of October (UTC):
"(date property)": { "min": "2018-10-1T00:00:00Z", "max": "2018-11-1T00:00:00Z" }