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?
Timezone settings are reversed in live camera view
-
- Posts: 6
- Joined: Tue May 31, 2016 2:24 pm
-
- Posts: 39
- Joined: Fri Jan 29, 2016 6:12 pm
Re: Timezone settings are reversed in live camera view
It would be helpful to see the above. Can you paste it here?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.
best regards
LinforPros
LinforPros
-
- Posts: 6
- Joined: Tue May 31, 2016 2:24 pm
Re: Timezone settings are reversed in live camera view
Will post screenshots later today
-
- Posts: 6
- Joined: Tue May 31, 2016 2:24 pm
Re: Timezone settings are reversed in live camera view
Looks like it's an issue with tzdata on my pi...
Obviously not an issue with ZM, I'll keep digging around for a fix for this
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.
-
- Posts: 39
- Joined: Fri Jan 29, 2016 6:12 pm
Re: Timezone settings are reversed in live camera view
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
LinforPros
-
- Posts: 6
- Joined: Tue May 31, 2016 2:24 pm
Re: Timezone settings are reversed in live camera view
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
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