mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 05:22:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Forward.h | ||
| TimeZone.cpp | ||
| TimeZone.h | ||