Skip to content

Commit 009156a

Browse files
authored
Update Query-Format.md
1 parent 93b5cc0 commit 009156a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/Cube.js-Frontend/Query-Format.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ Since grouping and filtering by a time dimension is quite a common case, Cube.js
302302
- `dimension`: Time dimension name.
303303
- `dateRange`: An array of dates with the following format `YYYY-MM-DD` or in `YYYY-MM-DDTHH:mm:ss.SSS` format.
304304
Values should always be local and in query `timezone`.
305-
Dates in `YYYY-MM-DD` format padded to start and end of day if used in start and end of date range interval accordingly.
305+
Dates in `YYYY-MM-DD` format are also accepted.
306+
Such dates padded to start and end of day if used in start and end of date range interval accordingly.
306307
If only one date specified it's equivalent to passing two same dates as a date range.
307308
You can also pass a string instead of array with relative date range, for example: `last quarter` or `last 360 days`.
308309
- `granularity`: A granularity for a time dimension. It supports following values `second`, `minute`, `hour`, `day`, `week`, `month`, `year`. If you pass `null` to the granularity, the Cube.js will only perform a filtering by specified time dimension, without grouping.

0 commit comments

Comments
 (0)