FIRE-6070: Use user's system locale setting for number formatting
parent
636b411059
commit
c86ba9b2d9
|
|
@ -1285,7 +1285,9 @@ void LLStringUtil::formatNumber(std::string& numStr, std::string decimals)
|
|||
// std::locale() throws if the locale is unknown! (EXT-7926)
|
||||
try
|
||||
{
|
||||
strStream.imbue(std::locale(sLocale.c_str()));
|
||||
// <FS:Ansariel> FIRE-6070: Use user's system locale setting for number formatting
|
||||
//strStream.imbue(std::locale(sLocale.c_str()));
|
||||
strStream.imbue(std::locale(""));
|
||||
} catch (const std::exception &)
|
||||
{
|
||||
LL_WARNS_ONCE("Locale") << "Cannot set locale to " << sLocale << LL_ENDL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue