Force short date pattern to use yyyy on Linux (dotnet/coreclr#18316)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Thu, 7 Jun 2018 18:01:26 +0000 (11:01 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Jun 2018 18:01:26 +0000 (11:01 -0700)
commit880395db4bb8d14ef257ad93bc6cff3a44540c9f
tree1de7900a085102225c3d5a78bf2435d9d761ba9a
parentb453b6eacea2f6d859ca1e693d10156b715fdf10
Force short date pattern to use yyyy on Linux (dotnet/coreclr#18316)

* Force short date pattern to use yyyy on Linux

The default pattern we get is using yy which causes the years  to be displayed  as 2 digits. This is not acceptable for many users. The fix here is to force 4-digit year as a default and still keep the original pattern which has 2-digits year in the optional list

* Address the review feedback

Commit migrated from https://github.com/dotnet/coreclr/commit/a51328304a95a1a5e0eb037883176dff248dc687
src/libraries/System.Private.CoreLib/src/System/Globalization/CalendarData.Unix.cs