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:
@@ -634,6 +634,7 @@ Anope::string Anope::strftime(time_t t, const NickCore *nc, bool short_output)
|
||||
if (nc)
|
||||
{
|
||||
unsetenv("TZ");
|
||||
tzset();
|
||||
Language::ResetLocale();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user