mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
FileManager: Display times in the user's local time zone
This commit is contained in:
parent
0c13a3a8ff
commit
080b054695
Notes:
sideshowbarker
2024-07-17 20:06:49 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/080b054695f Pull-request: https://github.com/SerenityOS/serenity/pull/12171
@ -50,6 +50,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/wait.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
using namespace FileManager;
|
||||
@ -87,6 +88,7 @@ ErrorOr<int> 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");
|
||||
|
Loading…
Reference in New Issue
Block a user