Fix incorrect datemath example (#28904)

The original example resulted in a 400 error due to the example being `-` separated instead of the default `.` separation.
```
failed to parse date field [2001-01-01] with format [YYYY.MM.dd]
```
This commit is contained in:
Aaron Mildenstein 2018-03-06 06:45:43 -08:00 committed by Luca Cavanna
parent d018a0008e
commit 7f4131f923
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ Assuming `now` is `2001-01-01 12:00:00`, some examples are:
`now+1h`:: `now` in milliseconds plus one hour. Resolves to: `2001-01-01 13:00:00` `now+1h`:: `now` in milliseconds plus one hour. Resolves to: `2001-01-01 13:00:00`
`now-1h`:: `now` in milliseconds minus one hour. Resolves to: `2001-01-01 11:00:00` `now-1h`:: `now` in milliseconds minus one hour. Resolves to: `2001-01-01 11:00:00`
`now-1h/d`:: `now` in milliseconds minus one hour, rounded down to UTC 00:00. Resolves to: `2001-01-01 00:00:00`` `now-1h/d`:: `now` in milliseconds minus one hour, rounded down to UTC 00:00. Resolves to: `2001-01-01 00:00:00``
`2001-01-01\|\|+1M/d`:: `now` in milliseconds plus one month. Resolves to: `2001-02-01 00:00:00` `2001.02.01\|\|+1M/d`:: `2001-02-01` in milliseconds plus one month. Resolves to: `2001-03-01 00:00:00`
[float] [float]
[[common-options-response-filtering]] [[common-options-response-filtering]]