mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:07:35 +00:00
LibTimeZone: Use /etc/timezone as the basis for the system time zone
This changes LibTimeZone to read the current time zone from the file /etc/timezone rather than using tzset/tzname. Instead, in a subsequent commit, LibC's time methods will be changed to used LibTimeZone to retrieve the system time zone. Also add an API to set the system time zone. This method is only allowed when running within Serenity.
This commit is contained in:
parent
bcf4ec9c61
commit
7f1404b870
3 changed files with 75 additions and 8 deletions
1
Base/etc/timezone
Normal file
1
Base/etc/timezone
Normal file
|
@ -0,0 +1 @@
|
|||
UTC
|
Loading…
Add table
Add a link
Reference in a new issue