Skip to content

Add SAST timezone option; keep default local; fix map/GPS clocks - #379

Open
Poid-ZA wants to merge 1 commit into
smittix:mainfrom
Poid-ZA:timezone-default-local
Open

Poid-ZA wants to merge 1 commit into
smittix:mainfrom
Poid-ZA:timezone-default-local

Conversation

@Poid-ZA

@Poid-ZA Poid-ZA commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Follow-up to closed #250.

Summary

  • Keeps the default timezone as local (not Africa/Johannesburg).
  • Adds SAST as a selectable timezone option.
  • Fixes map/GPS clocks so they use InterceptTime when the timezone is local (getIANA() is empty in that mode, so those clocks previously stayed UTC-only).

Files

  • static/js/core/utils.js
  • static/js/map-utils.js
  • static/js/modes/gps.js
  • templates/layout/base.html
  • templates/partials/settings-modal.html

Closes nothing automatically; this replaces the approach in #250 with maintainer feedback applied (default stays local; SAST remains available).

Follows up on smittix#250. SAST stays a selectable zone, and the map HUD,
GPS fix times, and header clock use InterceptTime instead of raw UTC.
The out-of-the-box default stays browser-local, not a regional zone.

This branch has not been deployed

No deployments
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