update latest time zones

This commit is contained in:
MaysWind
2025-04-20 14:37:39 +08:00
parent 550cd848b0
commit 13c4ad10c5
9 changed files with 296 additions and 283 deletions
+26 -21
View File
@@ -6,6 +6,7 @@ export const UTC_TIMEZONE: TimezoneInfo = {
};
// Reference: https://github.com/nodatime/nodatime/blob/main/data/cldr/windowsZones-45.xml
// Reference: https://github.com/mattjohnsonpint/TimeZoneNames/blob/main/src/TimeZoneNames.DataBuilder/data/windows-displaynames.json
export const ALL_TIMEZONES: TimezoneInfo[] = [
// UTC-12:00
{
@@ -59,7 +60,7 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
timezoneName: 'America/Phoenix'
},
{
displayName: 'Chihuahua, La Paz, Mazatlan',
displayName: 'La Paz, Mazatlan',
timezoneName: 'America/Chihuahua'
},
{
@@ -167,10 +168,6 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
displayName: 'City of Buenos Aires',
timezoneName: 'America/Buenos_Aires'
},
{
displayName: 'Greenland',
timezoneName: 'America/Godthab'
},
{
displayName: 'Montevideo',
timezoneName: 'America/Montevideo'
@@ -192,13 +189,17 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
displayName: 'Coordinated Universal Time-02',
timezoneName: 'Etc/GMT+2'
},
{
displayName: 'Greenland',
timezoneName: 'America/Godthab'
},
// UTC-01:00
{
displayName: 'Azores',
timezoneName: 'Atlantic/Azores'
},
{
displayName: 'Cabo Verde Is',
displayName: 'Cabo Verde Is.',
timezoneName: 'Atlantic/Cape_Verde'
},
// UTC
@@ -242,10 +243,6 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
timezoneName: 'Africa/Lagos'
},
// UTC+02:00
{
displayName: 'Amman',
timezoneName: 'Asia/Amman'
},
{
displayName: 'Athens, Bucharest',
timezoneName: 'Europe/Bucharest'
@@ -262,10 +259,6 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
displayName: 'Chisinau',
timezoneName: 'Europe/Chisinau'
},
{
displayName: 'Damascus',
timezoneName: 'Asia/Damascus'
},
{
displayName: 'Gaza, Hebron',
timezoneName: 'Asia/Gaza'
@@ -303,10 +296,18 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
timezoneName: 'Africa/Windhoek'
},
// UTC+03:00
{
displayName: 'Amman',
timezoneName: 'Asia/Amman'
},
{
displayName: 'Baghdad',
timezoneName: 'Asia/Baghdad'
},
{
displayName: 'Damascus',
timezoneName: 'Asia/Damascus'
},
{
displayName: 'Istanbul',
timezoneName: 'Europe/Istanbul'
@@ -320,13 +321,17 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
timezoneName: 'Europe/Minsk'
},
{
displayName: 'Moscow, St Petersburg, Volgograd',
displayName: 'Moscow, St. Petersburg',
timezoneName: 'Europe/Moscow'
},
{
displayName: 'Nairobi',
timezoneName: 'Africa/Nairobi'
},
{
displayName: 'Volgograd',
timezoneName: 'Europe/Volgograd'
},
{
displayName: 'Tehran',
timezoneName: 'Asia/Tehran'
@@ -374,6 +379,10 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
displayName: 'Ashgabat, Tashkent',
timezoneName: 'Asia/Tashkent'
},
{
displayName: 'Astana',
timezoneName: 'Asia/Qyzylorda'
},
{
displayName: 'Ekaterinburg',
timezoneName: 'Asia/Yekaterinburg'
@@ -382,10 +391,6 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
displayName: 'Islamabad, Karachi',
timezoneName: 'Asia/Karachi'
},
{
displayName: 'Qyzylorda',
timezoneName: 'Asia/Qyzylorda'
},
// UTC+05:30
{
displayName: 'Chennai, Kolkata, Mumbai, New Delhi',
@@ -402,8 +407,8 @@ export const ALL_TIMEZONES: TimezoneInfo[] = [
},
// UTC+06:00
{
displayName: 'Astana',
timezoneName: 'Asia/Almaty'
displayName: 'Bishkek',
timezoneName: 'Asia/Bishkek'
},
{
displayName: 'Dhaka',