-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libs][iOS] TimeZoneInfo StandardName/DisplayName display abbreviations instead of full name #89466
Comments
Tagging subscribers to this area: @dotnet/area-system-datetime Issue DetailsDescriptionAs mentioned in #85126 (comment),
Reproduction StepsRun the iOS sample
Expected behaviorShould see full names and not abbreviations, and since I'm based on East coast of North America, Actual behaviorI'm based on East coast of North America, so Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos Issue DetailsDescriptionAs mentioned in #85126 (comment),
Reproduction StepsRun the iOS sample
Expected behaviorShould see full names and not abbreviations, and since I'm based on East coast of North America, Actual behaviorI'm based on East coast of North America, so Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
@steveisok could you please triage as it is iOS? |
I think this is something we can tweak in the ICU filter for iOS. |
After Meri's work in #91458, the DisplayName/StandardName/DaylightName TimeZoneInfo properties are no longer abbreviations when HybridGlobalization is enabled. When HybridGlobalization is not enabled, default values (abbreviated form) will be used similar to Invariant globalization mode. |
Description
As mentioned in #85126 (comment),
StandardName
andDisplayName
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 valuesruntime/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.cs
Line 244 in 764f774
runtime/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.cs
Line 258 in 764f774
Reproduction Steps
Run the iOS sample
src/mono/sample/iOS
withExpected 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
The text was updated successfully, but these errors were encountered: