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:
Ryan Grimm 2014-10-18 10:34:43 -07:00 committed by Clinton Gormley
parent f4202652b1
commit 74586e2867
1 changed files with 2 additions and 2 deletions

View File

@ -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`.