mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
Revert "Userland: Invoke tzset in apps that care about time zones"
This reverts most of commit ede5c9548e
.
The one change not reverted is ClockWidget.h, so that the taskbar clock
can continue to notice time zone changes.
This commit is contained in:
parent
6838333f76
commit
8599ee3049
10 changed files with 0 additions and 28 deletions
|
@ -16,7 +16,6 @@
|
|||
#include <RequestServer/HttpProtocol.h>
|
||||
#include <RequestServer/HttpsProtocol.h>
|
||||
#include <signal.h>
|
||||
#include <time.h>
|
||||
|
||||
ErrorOr<int> serenity_main(Main::Arguments)
|
||||
{
|
||||
|
@ -33,8 +32,6 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
TRY(Core::System::unveil("/etc/timezone", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
tzset();
|
||||
|
||||
[[maybe_unused]] auto gemini = make<RequestServer::GeminiProtocol>();
|
||||
[[maybe_unused]] auto http = make<RequestServer::HttpProtocol>();
|
||||
[[maybe_unused]] auto https = make<RequestServer::HttpsProtocol>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue