mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-24 17:38:35 +08:00
feat: add license plugin
This commit is contained in:
10
internal/node-utils/src/date.ts
Normal file
10
internal/node-utils/src/date.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import dayjs from 'dayjs';
|
||||
import timezone from 'dayjs/plugin/timezone';
|
||||
import utc from 'dayjs/plugin/utc';
|
||||
|
||||
dayjs.extend(utc);
|
||||
dayjs.extend(timezone);
|
||||
|
||||
const dateUtil = dayjs().tz('Asia/Shanghai');
|
||||
|
||||
export { dateUtil };
|
||||
Reference in New Issue
Block a user