1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:07:43 +00:00
serenity/Userland/Libraries/LibTimeZone
Timothy Flynn ed612d835d LibTimeZone: Default to UTC if parsing the TZ environment variable fails
Commit c3fd455 changed LibTimeZone to fall back to the system time zone
when we fail to parse the TZ environment variable. This behavior differs
from both our LibC and glibc; they abort parsing and default to UTC.

This changes LibTimeZone to behave the same way to avoid a very awkward
situation where some parts of the codebase thinks the timezone is UTC,
and others think the timezone is whatever /etc/timezone indicates.
2022-10-17 21:50:55 +02:00
..
CMakeLists.txt Lagom+CMake: Propagate dependencies for generated custom targets 2022-10-17 15:55:55 +02:00
Forward.h LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00
TimeZone.cpp LibTimeZone: Default to UTC if parsing the TZ environment variable fails 2022-10-17 21:50:55 +02:00
TimeZone.h LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00