Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ internal static int[] GetCurrencyNegativePatterns(string localeName)
return PlatformDetection.IsNlsGlobalization ? new int[] { 12 } : new int[] { 9 };

case "es-BO":
return (PlatformDetection.IsNlsGlobalization && PlatformDetection.WindowsVersion < 10) ? new int[] { 14 } : new int[] { 1 };
return (PlatformDetection.IsNlsGlobalization && PlatformDetection.WindowsVersion < 10) ?
new int[] { 14 } :
// Mac OSX used to return 1 which is the format "-$n". OSX Version 12 (Monterey) started
// to return a different value 12 "$ -n".
PlatformDetection.IsOSX ? new int[] { 1, 12 } : new int[] { 1 };

case "fr-CA":
return PlatformDetection.IsNlsGlobalization ? new int[] { 15 } : new int[] { 8, 15 };
Expand Down