diff options
author | Jonathan Pryor <jonpryor@vt.edu> | 2014-10-24 23:41:20 +0400 |
---|---|---|
committer | Jonathan Pryor <jonpryor@vt.edu> | 2014-10-24 23:56:13 +0400 |
commit | f7fd52ad18464ad9c40516c2c59b406c1b12e8c9 (patch) | |
tree | 499217653fbd5e4e5100cdda81929cc1529cd512 /libgc | |
parent | 84472a332ea2db43c27b6d9496adb7858a273485 (diff) |
[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.
Diffstat (limited to 'libgc')
0 files changed, 0 insertions, 0 deletions