Hi folks!
After installing a ZM from docker image (koenkk/rpi-zoneminder) I noticed that the timestamp on the image differs from the time displayed on the Console (attached)
The timestamp settings of that monitor is : %N - %Y-%m-%d %H:%M:%S %z UTC
Somewhere on the internet I've found I should set the default time zone in the my.cnf to correct timezone. After it when I run a "select now();", it shows the correct date-time (before the setting it was in late 1 hour), but on the image still the same, that is in late.
Can I do anything with it, or should I live with this issue?
Thanks
Istvan
Timestamp issue
-
- Posts: 2
- Joined: Mon Nov 15, 2021 11:41 am
Timestamp issue
- Attachments
-
- date.png (58.91 KiB) Viewed 22922 times
Re: Timestamp issue
Try checking that date.timezone is set correctly in /etc/php.ini and that it agrees with the system timezone (/etc/localtime). If there's more than one entry, delete all but one of them.
You'll probably want to restart Apache after changing either of those (and maybe the syslog service if you change /etc/localtime).
You'll probably want to restart Apache after changing either of those (and maybe the syslog service if you change /etc/localtime).
Last edited by kitkat on Wed Nov 17, 2021 7:43 am, edited 1 time in total.
-
- Posts: 2
- Joined: Mon Nov 15, 2021 11:41 am