FileSystemAccessServer: Display times in the user's local time zone
This commit is contained in:
parent
080b054695
commit
fa016a72fd
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/fa016a72fd8 Pull-request: https://github.com/SerenityOS/serenity/pull/12171
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue