Fix llhttpdate test on windows and macos (#3909)

master
Andrey Lihatskiy 2025-04-15 02:56:06 +03:00 committed by GitHub
parent 207ef20e9e
commit 5a893f262f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -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));