Skip to content

Commit 45f8833

Browse files
committed
chore: update demo
1 parent 2c0d3a9 commit 45f8833

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/demo/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ dayjs().isSame(dayjs())
3131

3232
// isLeapYear
3333
dayjs().isLeapYear()
34+
35+
// isBetween
36+
dayjs().isBetween(dayjs().subtract(1, 'year'), dayjs().add(1, 'year'))

0 commit comments

Comments
 (0)