diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-28 07:38:10 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-28 15:13:35 +0000 |
commit | 8599ee30490b8fe96c0972eff7ad621cd1a770dd (patch) | |
tree | 47d01880cec83e6d664fd2595883221c59e5e98b /Userland/Services/WebContent | |
parent | 6838333f764a54bae6fe48a1048f8dc65347f8cb (diff) | |
download | serenity-8599ee30490b8fe96c0972eff7ad621cd1a770dd.zip |
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.
Diffstat (limited to 'Userland/Services/WebContent')
-rw-r--r-- | Userland/Services/WebContent/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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 <LibIPC/SingleServer.h> #include <LibMain/Main.h> #include <WebContent/ClientConnection.h> -#include <time.h> ErrorOr<int> serenity_main(Main::Arguments) { @@ -23,8 +22,6 @@ ErrorOr<int> 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<WebContent::ClientConnection>()); return event_loop.exec(); } |