webadmin: let the viewer choose the time zone used for displayed times

Open
#51 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Start with webadmin/static/localtime.js and the May 2026 TODO in issue #35; inspect how <time> elements are rendered and how auto-refresh swaps them in. Find the page footer to locate where a selector could fit. Done means the browser-zone default, UTC and available IANA zones work, the choice persists in localStorage, refreshed times use it, and without JavaScript the UTC fallback remains visible while the selector stays hidden.

Written by the indexing model from the issue text.

Description

The May 2026 TODO (#35) lists "add timezone selection".

Currently webadmin/static/localtime.js always renders <time> elements in the browser's local zone, with no way to view them in UTC or another zone. That is awkward when comparing log timestamps against a flight's UTC times or when helping someone in another region.

Proposal: add a "Time zone" selector to the page footer, defaulting to the browser's zone, offering UTC and the IANA zones the browser knows. The choice is kept in localStorage (no server state or schema change) and applied to every <time> element, including those swapped in by auto-refresh. Without JavaScript nothing changes: the UTC fallback text is shown and the selector stays hidden.

Dominant language
Python
Stars
13
Forks
11
Avg merge
5d 17h
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ArduPilot/SupportProxy

All issues in ArduPilot/SupportProxy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.