diff --git a/docs/demo/index.js b/docs/demo/index.js index 90e50159..4299e301 100644 --- a/docs/demo/index.js +++ b/docs/demo/index.js @@ -4,3 +4,6 @@ dayjs().format() // parse dayjs('2018-08-08').format() + +// format +dayjs().format('YYYY-MM-DD')