mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
FileSystemAccessServer: Display times in the user's local time zone
This commit is contained in:
parent
080b054695
commit
fa016a72fd
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
Add a link
Reference in a new issue