Timezone Issue

Forum for questions and support relating to the 1.30.x releases only.
Locked
epicfatigue
Posts: 14
Joined: Sun Jan 15, 2017 1:15 am

Timezone Issue

Post by epicfatigue »

Hey Guys,

I finally have set up all my camera's and got everything working awesome!.

The only issue i am having is my timezone is not showing correctly on my cameras.

I have updated my php.ini file would Australia/Melbourne

As you can see ZM main page displays the correct time but on the camera it is showing the wrong timezone.

I also created a small php page to echo the time and it returned correct.

So this date must come from another source.

Does anyone have any idea where it comes from?
Attachments
Capture.PNG
Capture.PNG (11.39 KiB) Viewed 3925 times
Capture.PNG
Capture.PNG (63.79 KiB) Viewed 3925 times
DVB Hardware
Posts: 201
Joined: Thu Jan 01, 2015 5:12 pm
Location: Rhode Island

Re: Timezone Issue

Post by DVB Hardware »

I think you have to set it in each camera setting
Attachments
8.png
8.png (64.38 KiB) Viewed 3923 times
Linux Mint 21 Cinnamon Mariadb 10.6.x using Master 1.37.x latest always

DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Timezone Issue

Post by PacoLM »

Search all the php.ini files and check the timezone.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Timezone Issue

Post by SteveGilvarry »

Double check actual server timezone and time, the video timestamp is done in c++. Same TZ as me.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
epicfatigue
Posts: 14
Joined: Sun Jan 15, 2017 1:15 am

Re: Timezone Issue

Post by epicfatigue »

Thanks Everyone,

Had tried all of above but overlooked what my jails timezone was as the master was set to AEST however the jail wasnt.
SteveGilvarry wrote:Double check actual server timezone and time, the video timestamp is done in c++. Same TZ as me.
So with a quick
cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

Wella the server is now on AEST

Thanks heaps Steve dont know how i overlooked this been pulling my hair out for days.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Timezone Issue

Post by SteveGilvarry »

connortechnology and I were having a discussion last week about using UTC for all recordings and then adjusting timezones for users and maybe for cameras.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Locked