We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e720cfe commit 1f67767Copy full SHA for 1f67767
docs/demo/index.js
@@ -17,3 +17,6 @@ dayjs().add(1, 'year').format()
17
// subtract
18
dayjs().subtract(1, 'year').format()
19
20
+// diff
21
+dayjs().diff(dayjs().add(1, 'year'), 'year')
22
+
0 commit comments