Skip to content

Commit 72f2aa3

Browse files
committed
chore: update
1 parent 975e2fa commit 72f2aa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/demo/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ dayjs().subtract(1, 'year').format()
2020
// diff
2121
dayjs().diff(dayjs().add(1, 'year'), 'year')
2222

23+
// isBefore
24+
dayjs().isBefore(dayjs().add(1, 'year'))

0 commit comments

Comments
 (0)