Timezone Issue

  • I am running version 12.0.2 architecture RK3399.aarch64 on a X99 tv box purchased from AliExpress.

    I seeking input on an issue I have: I have set a timezone in Kodi's Settings/Interface to Pacific/Auckland but this does not seem to be reflected in the underlying Linux OS - ie specifically for cron jobs.

    Here is further info:

    Contents of guisettings.xml:
    <setting id="locale.language" default="true">resource.language.en_gb</setting>
    <setting id="locale.charset" default="true">DEFAULT</setting>
    <setting id="locale.keyboardlayouts" default="true">English QWERTY</setting>
    <setting id="locale.activekeyboardlayout" default="true">English QWERTY</setting>
    <setting id="locale.country">Australia (24h)</setting>
    <setting id="locale.timezonecountry">New Zealand</setting>
    <setting id="locale.timezone">Pacific/Auckland</setting>
    <setting id="locale.shortdateformat" default="true">regional</setting>
    <setting id="locale.longdateformat" default="true">regional</setting>
    <setting id="locale.timeformat" default="true">regional</setting>
    <setting id="locale.use24hourclock" default="true">regional</setting>
    <setting id="locale.temperatureunit" default="true">regional</setting>
    <setting id="locale.speedunit" default="true">regional</setting>

    From SSH session:
    X99:~ # date
    Sun Mar 23 21:14:13 UTC 2025

    Local time was 13 hours later than this

    Any help on this issue would be much appreciated - so thanks in advance.

    Peter

    Edited 2 times, last by PeteAklNZ (March 24, 2025 at 7:19 AM).

  • Go to Best Answer
  • I'm not sure why it's not working in LE12, but it isn't, and we're unlikely to release more LE12 maintenance updates, so:

    Kodi 22 (Piers) removes support for setting the timezone from within Kodi (as this is an OS function) so LE13 nightly images now set timezone from the LE settings add-on, and this definitely works. So the workaround is to update to an LE13 nightly.

  • FYI, timezone works in 12.0.2 on rpi4.

    If I use cat .cache/timezone it shows same error of no file or directory but if I use cat /storage/.cache/timezone in gives output of timezone.

  • Timzone is usually working but there is already a similar LE13 report of not writing the file. It is odd that the C++ code of LE12 cause the same issue as Python of LE13 but I cannot reproduce the issue.


    PeteAklNZ Easiest work around is echo TIMEZONE=Pacific/Auckland >/storage/.cache/timezone and reboot.