Kodi 17 - LibreElec - Force system to use UTC

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kamaradski Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #1
How to force the system to use UTC ?

I need the time it displays on screen to be aligned with the time i use everywhere else.
find quote
nickr Offline
Team-Kodi Member
Posts: 18,044
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #2
Set the timezone in Kodi settings.

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
kamaradski Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #3
Thank nickr,

The timezone however only has locations, closest to UTC is UK/London, However Londen is using DaylightSavings, and is currently UTC+1.

I have not found any static timezones like GMT, UTC, BST in the list. Or am i overlooking something obvious here ?
find quote
musv Offline
Member
Posts: 97
Joined: Nov 2011
Reputation: 0
Post: #4
I don't know anything about Libreelec.

But on every Linux I know, the available timezones are stored in /usr/share/zoneinfo. And there exits a file UTC. According to the Arch-Wiki you should link the zone file to /etc/localtime.

The same you can do with timedatectl set-timezone UTC.
find quote
nickr Offline
Team-Kodi Member
Posts: 18,044
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #5
LibreELEC is a bit different to other distros as /etc is read only.

TIMEZONE is kept in /storage/.cache/timezone

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
yamcenutzer Offline
Junior Member
Posts: 41
Joined: Apr 2015
Reputation: 0
Post: #6
last time I looked, timedatectl wasn't available on LE
find quote
kamaradski Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #7
(2017-05-09 21:58)nickr Wrote:  LibreELEC is a bit different to other distros as /etc is read only.

TIMEZONE is kept in /storage/.cache/timezone

Thanks nickr, how can i use that info to do what i wanted ? Make kodi use the UTC time ?
find quote
wsnipex Offline
Team-Kodi
Posts: 6,379
Joined: Jun 2011
Reputation: 165
Post: #8
ln -s /usr/share/zoneinfo/UTC /storage/.cache/timezone
find quote