Docs: Added 'd' to the list of supported units.
Day was missing from the list of supported units in the date math section. Closes #8151
This commit is contained in:
parent
f4202652b1
commit
74586e2867
|
@ -29,8 +29,8 @@ query/filter (mainly makes sense in `range` query/filter).
|
||||||
The expression starts with an "anchor" date, which can be either `now`
|
The expression starts with an "anchor" date, which can be either `now`
|
||||||
or a date string (in the applicable format) ending with `||`. It can
|
or a date string (in the applicable format) ending with `||`. It can
|
||||||
then follow by a math expression, supporting `+`, `-` and `/`
|
then follow by a math expression, supporting `+`, `-` and `/`
|
||||||
(rounding). The units supported are `y` (year), `M` (month), `w` (week), `h` (hour),
|
(rounding). The units supported are `y` (year), `M` (month), `w` (week),
|
||||||
`m` (minute), and `s` (second).
|
`d` (day), `h` (hour), `m` (minute), and `s` (second).
|
||||||
|
|
||||||
Here are some samples: `now+1h`, `now+1h+1m`, `now+1h/d`,
|
Here are some samples: `now+1h`, `now+1h+1m`, `now+1h/d`,
|
||||||
`2012-01-01||+1M/d`.
|
`2012-01-01||+1M/d`.
|
||||||
|
|
Loading…
Reference in New Issue