Commit Graph

3 Commits (43d48d654c6ee4c1b22cdeae2af79c6068fd69e4)

Author SHA1 Message Date
stoilms 43d48d654c feat: configurable date/time display (fixed time zone + format patterns)
- pageConfig.dateTime.timeZone: optional fixed IANA time zone; default is
  the visitor's local time. Visitors in a different zone get an info icon
  with a notice next to "Last updated" (translated in all locales)
- pageConfig.dateTime.formats: moment-style patterns for dateTime, date
  and time; unset patterns keep the previous formatting
- Applied to Last updated, daily bar tooltips and incident modal,
  maintenance alerts, incidents page month grouping, response-time chart
  axis/tooltip, and notification messages (in notification.timeZone)
- Daily bars and incident months follow the configured time zone
- Default notification format now includes the year
- English strings: "on {{date}}" instead of "at {{date}}"
- util/datetime.ts: dependency-free Intl-based formatter shared by the
  page and the worker
2026-10-20 14:55:56 +03:00
lyc8503 0258ae1ddc [WIP] feat: local deployment, still need more testing, data migration & CI todo 2026-01-01 02:26:37 +08:00
lyc8503 e9d8a1c842 Add Chinese translation (Thank you copilot, and I swear I reviewed the code carefully) 2025-12-23 23:22:33 +08:00