Skip to content

Commit

Permalink
chore: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Oct 20, 2024
1 parent e720cfe commit 1f67767
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 @@ -17,3 +17,6 @@ dayjs().add(1, 'year').format()
// subtract
dayjs().subtract(1, 'year').format()

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

0 comments on commit 1f67767

Please sign in to comment.