Trust me on this one, I've looked up every single which way to fix this issue and I am totally lost.
First of all let me set the scene. I'm currently on version 1.36.33 using Linux 6.1.12-arch1-1 x86_64 GNU/Linux on Arch Linux. I installed this via the AUR and it's working fantastically.
Now the issue I'm running into is the fact that all the recordings are timestamped in UTC and it makes it super difficult to figure out when things happen, see example here:
Now I've made sure my Time and Date settings are set in the Options to my current location which is Australia/Hobart (which is going to be the same for everything I do):
And my current Time settings on the Linux machine:
So I did ye ole searching on the interwebs to see if anyone else has had this issue and I located this viewtopic.php?t=22577 which I figured okay, lets check the MariaDB settings. From what I read in the MariaDB documentation, if you don't pass through the default-time-zone parameter in the my.cnf config file it just takes whatever the system is using.
This didn't help much because it's still posting all the recordings in UTC time so I edited the my.cnf file with the code:
Code: Select all
default-time-zone = "Australia/Hobart"
Code: Select all
mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql -p
I ran the following 2 codes to per the documentation to see if the Global Server TIme Zone and the Session Time Zones are set correctly:
Code: Select all
SHOW GLOBAL VARIABLES LIKE 'time_zone';
and
SHOW SESSION VARIABLES LIKE 'time_zone';
Rebooted the Server and it stuck with it as it's defined in the my.cnf file however all the recordings even to this minute are still posted in UTC even though the Camera's Timestamps at the top right corner, specifically provided by Zoneminder is in the correct Time Zone and format.
Would love some insights as to how I can work around fixing this or if there's any suggestions anyone can provide me to further troubleshoot because I'm at complete loss.
Thanks and kind regards