You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux Arm64 TimeZoneInfo Duplicate DisplayNames #64111
Through work to ensure no duplicate display names for timezones on Android, it was discovered that there are duplicates on Linux Arm64.
tzCollection: id America/Punta_Arenas has DisplayName (UTC-03:00) GMT
tzCollection: id America/Nuuk has DisplayName (UTC-03:00) GMT
tzCollection: id Europe/Astrakhan has DisplayName (UTC+04:00) GMT
tzCollection: id Europe/Ulyanovsk has DisplayName (UTC+04:00) GMT
tzCollection: id Europe/Saratov has DisplayName (UTC+04:00) GMT
tzCollection: id Asia/Tomsk has DisplayName (UTC+07:00) GMT
tzCollection: id Asia/Barnaul has DisplayName (UTC+07:00) GMT
On Linux musl x64 and Android x64, for example, the IDs have different display names for
tzCollection: id America/Punta_Arenas has DisplayName (UTC-03:00) Punta Arenas Time
tzCollection: id Europe/Astrakhan has DisplayName (UTC+04:00) Astrakhan Time
tzCollection: id Europe/Ulyanovsk has DisplayName (UTC+04:00) Ulyanovsk Time
tzCollection: id Europe/Saratov has DisplayName (UTC+04:00) Saratov Time
tzCollection: id Asia/Tomsk has DisplayName (UTC+07:00) Tomsk Time
tzCollection: id Asia/Barnaul has DisplayName (UTC+07:00) Barnaul Time
I don't quite understand why it would matter that it's Arm64. Could it just be that the machine had an outdated version of ICU or its data?
That said, it's really bad that the display name is "GMT". That shouldn't ever be there. If for some reason we can't get a true display name, we should fall back to using the IANA ID, for example "(UTC+04:00) Europe/Astrakhan"
Activity
tarekgh commentedon Jan 23, 2022
@mattjohnsonpint do you think there is a way we can distinguish the display names for the listed zones?
mattjohnsonpint commentedon Jan 24, 2022
I don't quite understand why it would matter that it's Arm64. Could it just be that the machine had an outdated version of ICU or its data?
That said, it's really bad that the display name is "GMT". That shouldn't ever be there. If for some reason we can't get a true display name, we should fall back to using the IANA ID, for example
"(UTC+04:00) Europe/Astrakhan"