gaoluyang
2026-07-31 bff63ed3dd1a585f84b8c41f9396fa6f7a4ff4c7
1
2
3
4
5
6
7
8
9
10
11
12
import dayjs from 'dayjs';
import timezone from 'dayjs/plugin/timezone.js';
import utc from 'dayjs/plugin/utc.js';
 
dayjs.extend(utc);
dayjs.extend(timezone);
 
dayjs.tz.setDefault('Asia/Shanghai');
 
const dateUtil = dayjs;
 
export { dateUtil };