Closed mangkoran closed 1 month ago
I think I have found the root cause/solution thanks to https://github.com/AdguardTeam/AdGuardHome/issues/6376#issuecomment-1790710521, https://github.com/daeuniverse/dae/discussions/345#discussion-5751926.
Because golang use local zoneinfo file to identify the timezone12 and relate package is not install by default at OpenWrt, so if you want the log time correct at OpenWrt, you should install the zoneinfo package
tl;dr solution is to install zoneinfo-all
package.
opkg update
opkg install zoneinfo-all
Then restart adguardhome
or reboot system.
Prerequisites
[X] I have checked the Wiki and Discussions and found no answer
[X] I have searched other issues and found no duplicates
[X] I want to report a bug and not ask a question or ask for help
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, ARM64
Installation
Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)
Setup
On a router, DHCP is handled by the router
AdGuard Home version
v0.107.53
Action
Set
log.local_time
totrue
in config fileExpected result
Log use local time format
Actual result
Log use UTC format
Additional information and/or screenshots