-
Notifications
You must be signed in to change notification settings - Fork 49
Wrong time displayed while correct timezone is set #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This problem doesn't change if you configure the app with ewelink. Could you run these commands?
I set Europe/Amsterdam and my time is ok. |
I haven't upgraded to 0.18 yet, so maybe my experience will be different than yours. I live in UTC-8 but found I had to set the timezone to UTC+8 (Asia/Hong_Kong) in order to get the correct local time. There is likely a backwards subtraction going on somewhere, but I've never spent any time trying to find it. |
Please, update to the last version and try again. |
NEW INFO: Updated to 0.18 this morning, timezone issue appears to be resolved, at least for my issue of UTC-8 vs. UTC+8. |
Uh oh!
There was an error while loading. Please reload this page.
How can you see the error?
Time in snapshot, rtspstream and on commandline wrong.
In my case it's 15:00:00 in the stream/picture, but in real it's 16:00:00
requirements
V5520.2053.0505build20230320
, fix won't work withV5520.2053.0412build20220905
what i think is wrong
if you call
date
it will rely on/etc/TZ
which is a symlink to/tmp/TZ
to make a localtime from UTC. Must be something custom in the glibc that got shipped with the camera.Now in my case the content is
EST+0:00:00
which is wrong in two different ways:Since i live in CET Timezone which is
UTC+1
the content should beCET-1
Works for me in theory and real life:
Broken:
Now let's fix it:
Is it only me having that issue because i refused to configure the camera with ewelink?
What's your contents of /etc/TZ?
The text was updated successfully, but these errors were encountered: