forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mscorlib/Android] TimeZoneInfo.Local.Id should be "Local".
On Mono/.NET, TimeZoneInfo.Local has a TimeZoneInfo.Id value of "Local" and a TimeZoneInfo.DisplayName value of "Local": $ csharp csharp> TimeZoneInfo.Local.Id; "Local" csharp> TimeZoneInfo.Local.DisplayName; "Local" That isn't the case on Xamarin.Android, which returns the timezoneinfo ID value from both DisplayName and Id, e.g. TimeZoneInfo.Local could have Id and DisplayName values of "Australia/Sydney". Rework things so that the TimeZoneInfo.Id and TimeZoneInfo.DisplayName properties return "Local" on Xamarin.Android for the instance returned from TimeZoneInfo.Local, just like normal Mono/.NET does.
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters