Skip to content

fix: sync camera clock to local wall-clock time#6

Open
kamcnally wants to merge 1 commit into
MutuallyAssuredDeployment:masterfrom
kamcnally:fix/camera-local-timezone
Open

fix: sync camera clock to local wall-clock time#6
kamcnally wants to merge 1 commit into
MutuallyAssuredDeployment:masterfrom
kamcnally:fix/camera-local-timezone

Conversation

@kamcnally

Copy link
Copy Markdown

The Baichuan protocol has no timezone field, cameras store whatever time they receive and display it directly. Local wall-clock time is the correct value to send, matching what manufacturer apps do. Sending UTC caused the camera display to show the wrong time for anyone outside UTC.

Uses the system TZ (via TZ env var or /etc/localtime, DST-aware). Falls back to UTC if the local offset cannot be determined. Users who want UTC can set TZ=UTC on the host.

The Baichuan protocol has no timezone field, cameras store whatever time they receive and display it directly. Local wall-clock time is the correct value to send, matching what manufacturer apps do. Sending UTC caused the camera display to show the wrong time for anyone outside UTC.

Uses the system TZ (via TZ env var or /etc/localtime, DST-aware). Falls back to UTC if the local offset cannot be determined. Users who want UTC
can set TZ=UTC on the host.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant