This commit is contained in:
oneao committed 2025-08-14 19:33:38 +08:00
1 parent 0f1604c709
commit 4e42a01b97
18 files changed
+1371 -47

No files matched your search

@@ -0,0 +1,12 @@
import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
import timezone from 'dayjs/plugin/timezone'
export function getBuildTime() {
dayjs.extend(utc)
dayjs.extend(timezone)
const buildTime = dayjs.tz(Date.now(), 'Asia/Shanghai').format('YYYY-MM-DD HH:mm:ss')
return buildTime
}
@@ -0,0 +1 @@
export * from './time'