mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-22 01:38:57 +08:00
feat: increase support for multiple time zones
* 优化实现方法
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user