Skip to content

Commit 1f67767

Browse files
committed
chore: update demo
1 parent e720cfe commit 1f67767

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
@@ -17,3 +17,6 @@ dayjs().add(1, 'year').format()
1717
// subtract
1818
dayjs().subtract(1, 'year').format()
1919

20+
// diff
21+
dayjs().diff(dayjs().add(1, 'year'), 'year')
22+

0 commit comments

Comments
 (0)