summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-27 17:47:28 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-28 12:25:20 +0000
commitfa016a72fd8f0288de02f3aa8e7834b08b8f2238 (patch)
treec221cf98ac907c6fb95c3f88b00501259ce38465
parent080b054695f03df2f731d9a519432e3f196f48e6 (diff)
downloadserenity-fa016a72fd8f0288de02f3aa8e7834b08b8f2238.zip
FileSystemAccessServer: Display times in the user's local time zone
-rw-r--r--Userland/Services/FileSystemAccessServer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/FileSystemAccessServer/main.cpp b/Userland/Services/FileSystemAccessServer/main.cpp
index ecdcc984ba..641b757f6e 100644
--- a/Userland/Services/FileSystemAccessServer/main.cpp
+++ b/Userland/Services/FileSystemAccessServer/main.cpp
@@ -9,10 +9,12 @@
#include <LibGUI/Application.h>
#include <LibIPC/SingleServer.h>
#include <LibMain/Main.h>
+#include <time.h>
ErrorOr<int> serenity_main(Main::Arguments)
{
TRY(Core::System::pledge("stdio recvfd sendfd rpath cpath wpath unix thread"));
+ tzset();
auto app = GUI::Application::construct(0, nullptr);
app->set_quit_when_last_window_deleted(false);