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