diff --git a/docs/demo/index.js b/docs/demo/index.js index 83772a886..468b170cc 100644 --- a/docs/demo/index.js +++ b/docs/demo/index.js @@ -14,3 +14,6 @@ dayjs().locale('zh-cn').format() // add dayjs().add(1, 'year').format() +// subtract +dayjs().subtract(1, 'year').format() +