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/Utilities/date.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'Userland/Utilities/date.cpp') diff --git a/Userland/Utilities/date.cpp b/Userland/Utilities/date.cpp index 0b91921622..bf23092de9 100644 --- a/Userland/Utilities/date.cpp +++ b/Userland/Utilities/date.cpp @@ -29,8 +29,6 @@ ErrorOr serenity_main(Main::Arguments arguments) args_parser.add_option(print_rfc_5322, "Print date in RFC 5322 format", "rfc-5322", 'R'); args_parser.parse(arguments); - tzset(); - if (set_date != nullptr) { auto number = String(set_date).to_uint(); -- cgit v1.2.3