From 080b054695f03df2f731d9a519432e3f196f48e6 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 27 Jan 2022 17:43:42 -0500 Subject: [PATCH] FileManager: Display times in the user's local time zone --- Userland/Applications/FileManager/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp index 41f6ee5fbe1..ea8519f94f2 100644 --- a/Userland/Applications/FileManager/main.cpp +++ b/Userland/Applications/FileManager/main.cpp @@ -50,6 +50,7 @@ #include #include #include +#include #include using namespace FileManager; @@ -87,6 +88,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::try_create(arguments)); TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath fattr proc exec unix")); + tzset(); Config::pledge_domains({ "FileManager", "WindowManager" }); Config::monitor_domain("FileManager");