Skip to content

Commit

Permalink
chore: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Dec 20, 2024
1 parent 72f2aa3 commit 9a51b6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/demo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dayjs().diff(dayjs().add(1, 'year'), 'year')

// isBefore
dayjs().isBefore(dayjs().add(1, 'year'))

// isAfter
dayjs().isAfter(dayjs().subtract(1, 'year'))

0 comments on commit 9a51b6d

Please sign in to comment.