Display MoreHi!
Just noticed that the timezone database is out of date. The background: our city's leaders have the habit to change the timezone offset and/or the DST literally twice a year, I mean it. Don't ask me why. So, ooops, they did it again and the time displayed is wrong. Pain again
Of course it's possible to choose the suitable timezone instead of my own but it's not very sportsmanlike
![]()
I tried to create the latest TZ DB (2022a) and symlink to it
# /storage/.config/system.d/tz-data-latest.service
Code Display More[Unit] Description=Setup Timezone data (latest) DefaultDependencies=no After=tz-data.service [Service] Type=oneshot Environment=TIMEZONE=UTC EnvironmentFile=-/storage/.cache/timezone ExecStart=/bin/ln -sf /storage/.kodi/zoneinfo/${TIMEZONE} /var/run/localtime RemainAfterExit=yes StartLimitInterval=0 [Install] WantedBy=sysinit.targetI suspected it won't work and yeap it didn't work, at least in this form. The symlink is right but the time displayed is wrong
Is there a way to force the system to use the local zoneinfo installation instead of /usr/share/zoneinfo?
As fyi (I know not 9.x) - the nightly 10 and 11 image do have the current tz (and wireless db) packages. https://github.com/LibreELEC/Libr…ges/sysutils/tz