ladybird/Userland/Libraries/LibTimeZone
Linus Groh a6ba82fc49 LibTimeZone: Resolve /etc/localtime with realpath(), not readlink()
On Fedora Silverblue and other OSTree-based systems, /etc/localtime is
a symlink to /run/host/etc/localtime, which then points to the expected
zoneinfo file, e.g. ../usr/share/zoneinfo/Europe/Berlin.
By using realpath() instead of readlink() we can resolve the symlink
recursively and avoid falling back to UTC.
2022-10-17 22:19:50 +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: Resolve /etc/localtime with realpath(), not readlink() 2022-10-17 22:19:50 +02:00
TimeZone.h LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00