New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#3944 - Octeon can't read timezone #8941
Comments
teppot: I have this problem too on OpenWrt 21.02.1 r16325-88151b8303. The information here seems relevant: Could someone please take a look? |
This report may be languishing because of the typo in the headline ('Octegon' instead of 'Octeon'). |
I posted this issue again using a modified title, hoping to get the bots to alert the relevant maintainer. A year seems unusually long for no one to have picked it up - perhaps they don't see it due to the name? |
Just adding that this bug is also on an Itus Networks Shield device which is Octeon as well - same architecture. Currently on OpenWrt v21.02.3 |
This seems to be fixed on OpenWrt 22.03.0 r19685-512e76967f. My system time is displayed in the local time zone now. |
Great news... 22.03.0 release is building now so I'll test shortly as well |
Timezones confirmed working on v22.03.0 also! |
flygarn12:
EdgeRouter-4 21.02-snapshot-r16232-febf6db0d0 (and other Octegon devices as seen it the forum thread).
I can't get the EdgeRouter-4 to read the /etc/tz file. The file exist and I can read it from PuTTy. The /etc/tz changes to the correct time zone every time I in LuCi system settings change time zone.
I have also tried installing the Europe time zone package in hope for good luck but without any luck.
No matter what I do the system time in LuCi overview, date command and system log always show UTC time!? But the time in LuCi system time settings read the correct local time.
[[https://forum.openwrt.org/t/21-02-etc-tz-not-read/101768/9|Fault tread from the OpenWRT forum]]
root@[sanitized]:~# uci show system; readlink -f /etc/TZ system.@system[0]=system system.@system[0].ttylogin='0' system.@system[0].urandom_seed='0' system.@system[0].hostname='[sanitized]' system.@system[0].description='[sanitized]' system.@system[0].log_file='/Logs/system.log' system.@system[0].log_size='640' system.@system[0].log_proto='udp' system.@system[0].conloglevel='8' system.@system[0].cronloglevel='5' system.@system[0].zonename='Europe/Stockholm' system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3' system.ntp=timeserver system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org' /tmp/TZ root@[sanitized]:~#
root@[sanitized]:
# cat /etc/TZ#CET-1CEST,M3.5.0,M10.5.0/3
root@[sanitized]:
root@[sanitized]:
# cat /tmp/TZ#CET-1CEST,M3.5.0,M10.5.0/3
root@[sanitized]:
There have been some fault finding already pointing to a fault in the code?
[[https://forum.openwrt.org/t/edgerouter-lite-edgerouter-4-date-command-ignores-timezone-shows-utc/81776/28?u=flygarn12|External Link]]
The text was updated successfully, but these errors were encountered: