summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-15 02:56:06 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-04-18 19:49:32 +0300
commit3d5f1541dd9980196ba0c8a3c3396c8ed3384d1e (patch)
treed53d4506f4302d2e4f4eef9477d51aaf3c758c17
parentf6219fecc3a1387f56791eb31c7d83c74c90ce90 (diff)
Fix llhttpdate test on windows and macos (#3909)
-rw-r--r--indra/test/llhttpdate_tut.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/test/llhttpdate_tut.cpp b/indra/test/llhttpdate_tut.cpp
index a47602dec5..b580b09a9f 100644
--- a/indra/test/llhttpdate_tut.cpp
+++ b/indra/test/llhttpdate_tut.cpp
@@ -112,13 +112,8 @@ namespace tut
void httpdate_object::test<4>()
{
// test localization of http dates
-#if LL_WINDOWS
- const char *en_locale = "english";
- const char *fr_locale = "french";
-#else
- const char *en_locale = "en_GB.UTF-8";
+ const char *en_locale = "en_US.UTF-8";
const char *fr_locale = "fr_FR.UTF-8";
-#endif
std::string prev_locale = LLStringUtil::getLocale();
std::string prev_clocale = std::string(setlocale(LC_TIME, NULL));