mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-15 22:22:00 +08:00
feat: increase support for multiple time zones
This commit is contained in:
10
apps/backend-mock/utils/timezone-utils.ts
Normal file
10
apps/backend-mock/utils/timezone-utils.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
let mockTimeZone: null | string = null;
|
||||
|
||||
export const setTimezone = (timeZone: string) => {
|
||||
mockTimeZone = timeZone;
|
||||
};
|
||||
|
||||
export const getTimezone = () => {
|
||||
console.log('mockTimeZone', mockTimeZone);
|
||||
return mockTimeZone;
|
||||
};
|
||||
Reference in New Issue
Block a user