Skip to content

Commit 9a51b6d

Browse files
committed
chore: update demo
1 parent 72f2aa3 commit 9a51b6d

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
@@ -22,3 +22,6 @@ dayjs().diff(dayjs().add(1, 'year'), 'year')
2222

2323
// isBefore
2424
dayjs().isBefore(dayjs().add(1, 'year'))
25+
26+
// isAfter
27+
dayjs().isAfter(dayjs().subtract(1, 'year'))

0 commit comments

Comments
 (0)