updated now time in date.truncate duration examples

pull/1140/head
Scott Anderson 2020-06-24 11:41:23 -06:00
parent 5366257815
commit 5a384deafb
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ date.truncate(t: "2019-06-03T13:59:01.000000000Z", unit: 1h)
```js
import "date"
option now = () => 2020-01-01T00:00:00Z
option now = () => 2020-01-01T00:00:30.500000000Z
date.truncate(t: -30s, unit: 1s)
// Returns 2019-12-31T23:59:30.000000000Z