Timezone settings are reversed in live camera view

Forum for questions and support relating to the 1.29.x releases only.
Locked
QuasiMondo
Posts: 6
Joined: Tue May 31, 2016 2:24 pm

Timezone settings are reversed in live camera view

Post by QuasiMondo »

I'm running ZM on a Raspi2 (w/ Raspbian Jessie). I currently have one USB camera connected to it while I get everything set up for additional cameras that will stream over WiFi. Everything is good, except for the fact that the time zone adjustments seem to be reversed in the live view mode.

Example: I'm in Ethiopia right now, so I have the system set to GMT +3, both on the Pi itself, and through the php.ini file in ZM (Africa/Addis_Ababa). When I go to the console, the time shows up correctly. When I SSH into the pi and check the time, it shows up correctly there too. But when I view my lone USB camera, the the time is three hours behind GMT, but it still indicates that it's GMT +3. If I trigger an event, it logs the event with the correct time, but the reversed adjustment only shows up when I have a live view of the camera.

Is this a bug, or did I miss a configuration somewhere?
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

Re: Timezone settings are reversed in live camera view

Post by linforpros »

QuasiMondo wrote: But when I view my lone USB camera, the the time is three hours behind GMT, but it still indicates that it's GMT +3.
It would be helpful to see the above. Can you paste it here?
best regards
LinforPros
QuasiMondo
Posts: 6
Joined: Tue May 31, 2016 2:24 pm

Re: Timezone settings are reversed in live camera view

Post by QuasiMondo »

Will post screenshots later today
QuasiMondo
Posts: 6
Joined: Tue May 31, 2016 2:24 pm

Re: Timezone settings are reversed in live camera view

Post by QuasiMondo »

Looks like it's an issue with tzdata on my pi...

Code: Select all

Current default time zone: 'Etc/GMT+3'
Local time is now:      Thu Jun  9 15:37:31 GMT+3 2016.
Universal Time is now:  Thu Jun  9 18:37:31 UTC 2016.
Obviously not an issue with ZM, I'll keep digging around for a fix for this
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

Re: Timezone settings are reversed in live camera view

Post by linforpros »

Perhaps you should start with RTC on the motherboard, in the BIOS. then proceed to tzdata as that is software in the OS. Check hardware time setting of both the camera and your motherboard Bios first.
best regards
LinforPros
QuasiMondo
Posts: 6
Joined: Tue May 31, 2016 2:24 pm

Re: Timezone settings are reversed in live camera view

Post by QuasiMondo »

No RTC on the Pi, they lose their time as soon as you unplug them. To make up for that, I installed a USB GPS module to keep the time accurate.

Did some more researching on TZ data, not sure if reversing the time zones is a bug[url] or a [url=https://github.com/eggert/tz ... ra]feature, but I'll probaly just reinstall tzdata and see if that helps
Locked