mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-04 23:07:16 +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.