Page 1 of 1

Event listing time zone is always UTC [Solved]

Posted: Wed Sep 10, 2014 8:05 am
by cayfer
The time stamps on the videos are correct and on localtime (from NTP; therefore server's timezone is set correctly). But a cameras' event listings have UTC on the event entries.
Is there a way to fix this?

Solution:
Apparently the incorrect dates in the event listings were because of mysql server's default time zone setting.
I added the line

Code: Select all

default-time-zone = '+03:00'
into /etc/mysql/my.cnf; restarted the mysql server and the events recorded after this appeared with correct time. Old events stay with their old time stamps.