LE 8 - Systemtime

  • Hello

    is this a new feature or a bug in LE ?

    my timezone is correct (+1), and LE show the correct time. but,
    if i read the time via SSH, LE show the UTC time.

    the problem is my display, a mdm166a. this display show the systemtime,
    if the HTPC is off.

    here is it now: 14:45
    LE GUI shows: 14:45
    LE via GUI shows: 13:45

    Display shows, if LE is on: 14:45
    Display shows:, if LE is off: 13:45

    is the UTC Time in LE 8 new?

    e.g: LE HTPC:

    Code
    LibreELEC:~ # date
    Sat Dec  3 13:47:26 UTC 2016
    LibreELEC:~ #

    eg.: my OMV Server:

    Code
    root@Server:~# date
    Sa 3. Dez 14:47:30 CET 2016
    root@Server:~#

    How can i change this? UTC -> CET

  • yes, sorry. i mean ssh

    here is it now: 14:45
    LE GUI shows: 14:45
    LE via ssh shows: 13:45

    Display shows, if LE is on: 14:45
    Display shows:, if LE is off: 13:45

  • So, to sum this up.....

    You have a display that shows the correct time while LE is running, correct? No matter what time LE shows at SSH, if it's running it shows the correct time. At least you say that with:

    "here is it now: 14:45"
    "LE GUI shows: 14:45"
    "Display shows, if LE is on: 14:45 "

    And if LE is not running (so the HTPC is off) the display shows it's own system time?

    "Display shows:, if LE is off: 13:45 "

    So I would say....check the display settings.

    It seems not to matter what LE shows via SSH. Because if it's running your display gets the correct time (14:45).

    If LE is not running (LE = off ... means HTPC is turned off) the display gets a different time. That has nothing to do with LE. It's related to your display.

  • DaVu
    the display works with LE 7 correctly, with LE 8 not.

    @Irusak

    Code
    LibreELEC:~ # systemctl status tz-data | pastebinit
    http://sprunge.us/VMUV
    
    
    LibreELEC:~ # cat /storage/.cache/timezone
    TIMEZONE=Europe/Berlin
    LibreELEC:~ #


    [hr]
    solved

    it works again, i dont no why.

    i had deleted all profiles and create new.

    Edited once, last by noxx (December 4, 2016 at 7:21 AM).

  • How does the display work on LE 8? Because if it acts in the way you explained above I don't see a problem with LE8.

    As I said...it seems all fine as long as LE is running. If so, the display gets the correct time

    If LE is off, the display gets its time from somewhere else. Because the HTPC shouldn't deliver any time-information if it's off.

    Could it be, that the difference between the GUI time and the SSH time is caused by the summer- and wintertime settings we have in germany?

  • Quote


    If LE is off, the display gets its time from somewhere else.

    not from somewhere else. the display get the timeinformation from the OS.
    and this was wrong.

    yesterday show the system:
    Sat Dec 3 13:47:26 UTC 2016

    now:
    Sun Dec 4 11:21:46 CET 2016

    i think there was a problem with the profiles. dont know.
    i think Kodi or LE change something in the profiles.


  • How is the display able to get a system time (or the OS time) if the OS is turned off?

    From bios clock.

    I guess what is happening is that LE sets your bios clock to UTC, then makes the adjustment to CET in the OS.
    But when LE is powered off that adjustment cannot take place so your display is telling the time in UTC.

  • Excuse me, but doesn't "LE is off" mean, that the complete HTPC is shut down? Means, it's completely turned off, no power, nothing. You could also pull the power plug. How is the BIOS able to provide any information then?