feat: increase support for multiple time zones

* 优化实现方法
This commit is contained in:
zhongming4762
2025-10-29 19:47:10 +08:00
parent e01803ce9d
commit 4d713db546
31 changed files with 273 additions and 423 deletions

View File

@@ -7,7 +7,7 @@ export interface UserInfo {
homePath?: string;
}
export interface TimeZoneOption {
export interface TimezoneOption {
offset: number;
timeZone: string;
}
@@ -397,7 +397,7 @@ export function getMenuIds(menus: any[]) {
/**
* 时区选项
*/
export const TIME_ZONE_OPTIONS: TimeZoneOption[] = [
export const TIME_ZONE_OPTIONS: TimezoneOption[] = [
{
offset: -5,
timezone: 'America/New_York',