Event listing time zone is always UTC [Solved]

Forum for questions and support relating to the 1.27.x releases only.
Locked
cayfer
Posts: 3
Joined: Thu Dec 20, 2007 4:17 pm
Location: Ankara/Turkey

Event listing time zone is always UTC [Solved]

Post 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.
Locked