I can see a need for many to summarise event and notification logs to a more human readable form. This is the driver that means we see Date/Time expressed as ‘Today at 16:30’.
However, without a converter to the timezone of the human reading the log the human readablility goes out the window.
For example I live in New Zealand that is generally 12 hours ahead of UTC that means when I get up in the morning and check my logs on openhab cloud I see a load of entries declaring them as happened “Tomorrow” and some that actually happened yesterday for me are described as ‘Today’.
Can we consider those that live in other time zones? Perhaps a setting to turn off the human readable form and simply say the date time in a specified TZ?
[EDIT] I have just checked right now and the etimes on myopenhab look correct. I will try again in the morning to see if they are still ok or if they are once more showing as tomorrow. I will screen shot if they are wrong.
[16:54:02] openhabian@qtpi:~$ timedatectl
Local time: Mon 2017-11-13 16:54:12 NZDT
Universal time: Mon 2017-11-13 03:54:12 UTC
RTC time: n/a
Time zone: Pacific/Auckland (NZDT, +1300)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2017-09-24 01:59:59 NZST
Sun 2017-09-24 03:00:00 NZDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2018-04-01 02:59:59 NZDT
Sun 2018-04-01 02:00:00 NZST
I’m in NZ too, and checking timedatectl on my openhabian system i get:
Local time: Sun 2017-11-19 18:27:51 NZDT
Universal time: Sun 2017-11-19 05:27:51 UTC
RTC time: n/a
Time zone: Pacific/Auckland (NZDT, +1300)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2017-09-24 01:59:59 NZST
Sun 2017-09-24 03:00:00 NZDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2018-04-01 02:59:59 NZDT
Sun 2018-04-01 02:00:00 NZST
The same as you.
However, my openHAB logs aren’t out of sync i’m afraid. Are your OH logs the only ones odd?
Hi Paul,
my logs on my local machine are all correct and in local time, I am running
openhabian on a RPi3.
The issue manifests itself when I look at the events and notification
entries at the myopenhab.org website.
it looks like it tries to normalise the times but appears to be basing it
on UTC (or thereabouts) to determine what is displayed as ‘Today’
This is particularly obvious in the NZ mornings when all the current events
shown are listed as ‘Tomorrow’.
Ahhh… I missed that part totally (should have a look at the categories…)
As I’m not using myopenhab.org… Is there any option to configure your timezone within myopenhab.org?
there is no option on the myopenhab.org website that I can see to align to the viewers local timezone.
Attached is a screen shot that shows at 7:50 AM the myopenhab.org event view is advising of events that happen Today at 10 PM. Thats quite a feat for service assurance
is there a feature request area that I need to place an enhancement suggestion?
or would the item described above be better handled as an issue? If so, where do I go to raise a ticket om myopenhab.org?
I see this issue is still there and I guess it will remain unless I can raise a feature request to get other timezones catered for in myopenclloud although I must admit I would expect worldwide support to be early in a cloud systems roadmap. So this may be a fault.
anyway could someone with knowledge tell me where I post the issue/feature request for myopenhabcloud developers to take a look at?