1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18: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:
Timothy Flynn 2022-01-28 07:38:10 -05:00 committed by Linus Groh
parent 6838333f76
commit 8599ee3049
10 changed files with 0 additions and 28 deletions

View file

@ -69,7 +69,6 @@
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
RefPtr<JS::VM> vm;
@ -1305,8 +1304,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
args_parser.add_positional_argument(script_paths, "Path to script files", "scripts", Core::ArgsParser::Required::No);
args_parser.parse(arguments);
tzset();
bool syntax_highlight = !disable_syntax_highlight;
vm = JS::VM::create();