iot-manage-dashboard/apps/backend-mock/utils/timezone-utils.ts
2025-10-22 19:52:01 +08:00

11 lines
229 B
TypeScript

let mockTimeZone: null | string = null;
export const setTimezone = (timeZone: string) => {
mockTimeZone = timeZone;
};
export const getTimezone = () => {
console.log('mockTimeZone', mockTimeZone);
return mockTimeZone;
};