From 9635a93aa32bdcabf79536e41bd300b83ec1c12c Mon Sep 17 00:00:00 2001 From: iamkun Date: Thu, 18 Jul 2024 12:05:08 +0800 Subject: [PATCH] chore: update demo --- docs/demo/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/demo/index.js b/docs/demo/index.js index 90e501596..4299e3013 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')