-
Couldn't load subscription status.
- Fork 5.2k
Closed
Description
Description
As mentioned in #85126 (comment), StandardName and DisplayName return abbreviations instead of the full name that other platforms return. This is likely due to iOS using its own version of ICU, and the data there not being complete enough to return the full name. As a result, it is likely that the backup values
| string? standardDisplayName = _standardAbbrevName; |
| string? daylightDisplayName = _daylightAbbrevName ?? _standardAbbrevName; |
Reproduction Steps
Run the iOS sample src/mono/sample/iOS with
Console.WriteLine("StandardName: {TimeZoneInfo.Local.StandardName}");
Console.WriteLine("DaylightName: {TimeZoneInfo.Local.DaylightName}");
Expected behavior
Should see full names and not abbreviations, and since I'm based on East coast of North America,
Eastern Standard Time
Easter Daylight Time
Actual behavior
I'm based on East coast of North America, so
EST
EDT
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response