summaryrefslogtreecommitdiff
path: root/Userland/Utilities/date.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-28 07:38:10 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-28 15:13:35 +0000
commit8599ee30490b8fe96c0972eff7ad621cd1a770dd (patch)
tree47d01880cec83e6d664fd2595883221c59e5e98b /Userland/Utilities/date.cpp
parent6838333f764a54bae6fe48a1048f8dc65347f8cb (diff)
downloadserenity-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/Utilities/date.cpp')
-rw-r--r--Userland/Utilities/date.cpp2
1 files changed, 0 insertions, 2 deletions
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<int> 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();