From 5187be5d0264622b7fec36d77b2dd1c309be6e16 Mon Sep 17 00:00:00 2001 From: Ali Moghnieh Date: Thu, 4 Aug 2016 16:38:31 +0100 Subject: [PATCH] Set default currency-symbol-format-locale to US locale. --- Essentials/src/com/earth2me/essentials/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 9e1ab71eb..14ec9e5d0 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -1298,7 +1298,7 @@ public class Settings implements net.ess3.api.ISettings { decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.forLanguageTag(symbolLocaleString)); } else { // Fallback to the JVM's default locale - decimalFormatSymbols = DecimalFormatSymbols.getInstance(); + decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.US); } DecimalFormat currencyFormat = new DecimalFormat(currencyFormatString, decimalFormatSymbols);