1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 11:06:38 +02:00

Fix some minor bugs with setting the user timezone.

This commit is contained in:
Sadie Powell
2025-10-05 19:57:19 +01:00
parent 8b6c6fdd81
commit 5d1dd21887
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -634,6 +634,7 @@ Anope::string Anope::strftime(time_t t, const NickCore *nc, bool short_output)
if (nc)
{
unsetenv("TZ");
tzset();
Language::ResetLocale();
}