allow to customize datetime format via dayjs

This commit is contained in:
myl7
2022-02-08 20:06:02 +08:00
parent 920e83ef2e
commit 223e7e3d6a
5 changed files with 19 additions and 13 deletions
+5
View File
@@ -57,4 +57,9 @@ module.exports = {
link: 'https://t.me/realSpencerWoo',
},
],
// This is a day.js-style datetime format string to format datetimes in the app. Ref to
// https://day.js.org/docs/en/display/format for detailed specification. The default value is ISO 8601 full datetime
// without timezone and replacing T with space.
datetimeFormat: 'YYYY-MM-DD HH:mm:ss',
}