Skip to content

Fix annoying llhttpdate test on windows and macos #3909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
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
7 changes: 1 addition & 6 deletions indra/test/llhttpdate_tut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down