TimeZoneInfo.DisplayName values are not localized on Linux
authorEric Erhardt <eric.erhardt@microsoft.com>
Wed, 27 Jan 2016 23:41:14 +0000 (17:41 -0600)
committerEric Erhardt <eric.erhardt@microsoft.com>
Tue, 2 Feb 2016 15:42:29 +0000 (09:42 -0600)
commit8e7431e51cd088e58fb5e48dcd6615b86b479ca6
tree3c26a217b765e784bfb15f1a0481d189ea12cf23
parentd876143bc87775b6c38eac4312cfc2dcbe5c0f3a
TimeZoneInfo.DisplayName values are not localized on Linux

Fixed by calling ICU's ucal_getTimeZoneDisplayName to read the display names for the current locale.

Fix https://github.com/dotnet/corefx/issues/2748
src/corefx/System.Globalization.Native/calendarData.cpp
src/corefx/System.Globalization.Native/errors.h [new file with mode: 0644]
src/corefx/System.Globalization.Native/timeZoneInfo.cpp
src/mscorlib/corefx/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs
src/mscorlib/corefx/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs [new file with mode: 0644]
src/mscorlib/corefx/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs
src/mscorlib/corefx/Interop/Unix/System.Globalization.Native/Interop.Utils.cs [new file with mode: 0644]
src/mscorlib/corefx/System/Globalization/CalendarData.Unix.cs
src/mscorlib/mscorlib.shared.sources.props
src/mscorlib/src/System/TimeZoneInfo.cs