From 8599ee30490b8fe96c0972eff7ad621cd1a770dd Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 28 Jan 2022 07:38:10 -0500 Subject: Revert "Userland: Invoke tzset in apps that care about time zones" This reverts most of commit ede5c9548e55d8216dba21ed431b9e53d085a248. The one change not reverted is ClockWidget.h, so that the taskbar clock can continue to notice time zone changes. --- Userland/Services/WebContent/main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Userland/Services/WebContent') diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp index 02d04d4786..2c51f2f761 100644 --- a/Userland/Services/WebContent/main.cpp +++ b/Userland/Services/WebContent/main.cpp @@ -10,7 +10,6 @@ #include #include #include -#include ErrorOr serenity_main(Main::Arguments) { @@ -23,8 +22,6 @@ ErrorOr serenity_main(Main::Arguments) TRY(Core::System::unveil("/tmp/portal/websocket", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); - tzset(); - auto client = TRY(IPC::take_over_accepted_client_from_system_server()); return event_loop.exec(); } -- cgit v1.2.3