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

Đang mở
#51 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
13
Fork
11
Merge trung bình
5 ngày 17 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ArduPilot/SupportProxy

Tất cả issue của ArduPilot/SupportProxy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.