Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Fixing fa-IR negative currency format for test GetCurrencyNegativePat…
Browse files Browse the repository at this point in the history
…terns (#27139)

Fixes #27022 and #27127
  • Loading branch information
maryamariyan authored and danmoseley committed Feb 15, 2018
1 parent b661735 commit 5b09f73
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ internal static int[] GetCurrencyNegativePatterns(string localeName)
{
return (PlatformDetection.WindowsVersion < 10) ? new int[] { 3 } : new int[] { 6, 3 };
}
if (PlatformDetection.ICUVersion.Major >= 59)
if (PlatformDetection.ICUVersion.Major == 59)
{
return new int[] { 8 };
}
else if (PlatformDetection.ICUVersion.Major > 59)
{
return new int[] { 1 };
}
else
{
return new int[] { 1, 0 };
Expand Down

0 comments on commit 5b09f73

Please sign in to comment.