Skip to content

Commit d63e7aa

Browse files
authored
fixed hours bug (#3352)
1 parent 74cfd9f commit d63e7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/operator/aggregation/dateTrunc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ Behavior
182182
For example:
183183

184184
- If :ref:`binSize <dateTrunc-binSize>` is ``1`` and :ref:`unit
185-
<dateTrunc-unit>` is ``hours``, the time period is one hour. For the
185+
<dateTrunc-unit>` is ``hour``, the time period is one hour. For the
186186
:ref:`date <dateTrunc-date>` ``2021-03-20T11:30:05Z``,
187187
:expression:`$dateTrunc` returns ``2021-03-20T11:00:00Z``.
188188

189189
- If :ref:`binSize <dateTrunc-binSize>` is ``2`` and :ref:`unit
190-
<dateTrunc-unit>` is ``hours``, the time period is two hours. For the
190+
<dateTrunc-unit>` is ``hour``, the time period is two hours. For the
191191
:ref:`date <dateTrunc-date>` ``2021-03-20T11:30:05Z``,
192192
:expression:`$dateTrunc` returns ``2021-03-20T10:00:00Z``.
193193

0 commit comments

Comments
 (0)