openipcamera / openipc-firmware

OpenIPC Firmware for Wyze Cameras
https://openip.cam
892 stars 127 forks source link

OSD date/time is corrupt on V2 #50

Open wayne47git opened 6 years ago

wayne47git commented 6 years ago

VLC screenshot:

image

[root@openipc:~]# date Tue May 8 11:32:53 EDT 2018

PH89 commented 6 years ago

What date format string you used?

wayne47git commented 6 years ago

Good catch - typo, I had %s, not %d. But it still should repaint correctly? %m/%s/%y %H:%M:%S

PH89 commented 6 years ago

Repainting is working correct for me. Please make sure you use the variables defined in: http://strftime.org/ Try this: %m /%d /%y %H:%M:%S

Please keep in mind that the web view only refreshes after 4 secs. Maybe this explains the jumping of seconds. If you watch the rtsp-stream then you will see time is working correctly.