Skip to content

Fix timezone display to show device timezone instead of browser timezone#8405

Open
ryceg wants to merge 1 commit intonightscout:masterfrom
ryceg:bug/8403-fix-timezone
Open

Fix timezone display to show device timezone instead of browser timezone#8405
ryceg wants to merge 1 commit intonightscout:masterfrom
ryceg:bug/8403-fix-timezone

Conversation

@ryceg
Copy link
Copy Markdown

@ryceg ryceg commented Nov 18, 2025

Fixes #8403

Changes

  • Clock and main page now display device timezone from profile instead of browser local time
  • When device and browser timezones differ (different UTC offsets), both times are shown
  • When timezones match, only one time is displayed
  • Created shared timezone utility module for code reuse

Technical Details

  • Fetches timezone from profile API
  • Uses moment-timezone to handle timezone conversions
  • Graceful fallback to browser time if profile unavailable

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.

Main screen clock should use device reported timezone

1 participant