Juan Denis and Claude Opus 4.8
e3249fbd52
fix(system): report IANA timezone_id; guard chart formatting against bad zones
...
SystemService.get_server_time fell through to Python's time.tzname on hosts
without /etc/timezone or timedatectl (e.g. Windows dev), yielding a display
name like "Eastern Daylight Time" — not a valid IANA/Intl key. The dashboard
MetricsGraph then crashed with RangeError: Invalid time zone specified.
- Backend: add a cross-platform tzlocal fallback + an IANA-validity guard so
timezone_id is always an IANA key or null (display name stays in
timezone_name). Declare tzlocal in requirements.
- Frontend: MetricsGraph validates the zone and falls back to local time
instead of throwing (defense in depth).
- Test: test_server_time_timezone.py.
ServerKit's timezone feature (get/list/set via /api/v1/system/timezone) is
unchanged — this only fixes the value reported on non-Linux hosts.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-01 22:55:11 -04:00
..
2026-06-16 01:09:50 -04:00
2026-06-12 18:35:35 -04:00
2026-06-12 17:31:26 -04:00
2026-05-31 14:46:47 -04:00
2026-05-31 16:08:13 -04:00
2026-06-12 17:33:29 -04:00
2026-06-01 02:39:05 -04:00
2026-06-23 18:23:47 -04:00
2026-07-01 20:49:41 -04:00
2026-06-24 14:46:14 -04:00
2026-06-22 16:24:53 -04:00
2026-05-03 15:57:02 -04:00
2026-06-19 13:22:43 -04:00
2026-06-24 14:19:32 -04:00
2026-06-24 14:27:08 -04:00
2026-06-24 14:20:43 -04:00
2026-06-22 19:53:23 -04:00
2026-06-24 14:16:45 -04:00
2026-06-23 18:49:04 -04:00
2026-06-22 20:39:12 -04:00
2026-06-23 23:19:41 -04:00
2026-06-24 14:24:13 -04:00
2026-06-23 21:15:16 -04:00
2026-05-05 14:03:31 -04:00
2026-07-01 20:49:41 -04:00
2026-06-19 10:13:50 -04:00
2026-06-19 09:54:40 -04:00
2026-06-23 18:23:47 -04:00
2026-06-15 00:01:41 -04:00
2026-06-19 03:12:07 -04:00
2026-06-24 14:52:04 -04:00
2026-06-22 16:24:53 -04:00
2026-06-22 16:34:17 -04:00
2026-06-22 16:12:31 -04:00
2026-06-22 16:12:31 -04:00
2026-06-30 23:31:57 -04:00
2026-06-22 16:24:53 -04:00
2026-06-23 00:34:55 -04:00
2026-06-22 16:40:35 -04:00
2026-06-24 01:43:29 -04:00
2026-06-19 01:34:02 -04:00
2026-06-23 21:33:53 -04:00
2026-07-01 22:39:18 -04:00
2026-06-24 14:32:41 -04:00
2026-06-24 14:36:08 -04:00
2026-06-23 20:04:04 -04:00
2026-07-01 21:34:54 -04:00
2026-07-01 22:11:09 -04:00
2026-06-23 17:48:59 -04:00
2026-06-23 21:15:16 -04:00
2026-06-19 10:08:58 -04:00
2026-06-19 09:37:30 -04:00
2026-06-23 20:57:40 -04:00
2026-06-21 22:01:38 -04:00
2026-07-01 20:49:41 -04:00
2026-07-01 22:39:18 -04:00
2026-06-15 23:20:00 -04:00
2026-06-21 19:57:02 -04:00
2026-06-24 14:58:55 -04:00
2026-06-12 18:35:43 -04:00
2026-05-31 16:08:32 -04:00
2026-07-01 21:13:04 -04:00
2026-06-23 19:33:44 -04:00
2026-06-23 19:33:44 -04:00
2026-06-15 19:55:57 -04:00
2026-06-23 19:33:44 -04:00
2026-06-20 22:25:06 -04:00
2026-06-20 22:38:38 -04:00
2026-07-01 21:41:50 -04:00
2026-05-03 07:07:57 -04:00
2026-06-05 23:08:44 -04:00
2026-06-21 01:54:51 -04:00
2026-06-19 16:52:40 -04:00
2026-06-23 20:04:04 -04:00
2026-04-29 00:11:46 -04:00
2026-07-01 22:55:11 -04:00
2026-06-25 01:06:44 -04:00
2026-05-05 14:03:31 -04:00
2026-06-23 17:31:28 -04:00
2026-06-24 14:06:05 -04:00
2026-06-23 20:04:04 -04:00
2026-07-01 00:31:22 -04:00
2026-06-15 00:01:51 -04:00
2026-06-15 00:52:30 -04:00
2026-06-30 23:48:28 -04:00
2026-06-24 14:40:08 -04:00
2026-06-22 01:45:15 -04:00
2026-06-23 18:49:04 -04:00
2026-06-23 18:23:47 -04:00
2026-06-15 23:28:12 -04:00
2026-06-15 23:20:00 -04:00
2026-06-15 00:19:16 -04:00
2026-02-10 16:03:19 -05:00
2026-03-04 02:54:14 -05:00
2026-06-19 14:02:24 -04:00
2026-06-15 21:00:57 -04:00
2026-06-15 21:59:59 -04:00
2026-06-15 22:06:58 -04:00
2026-06-15 21:43:12 -04:00
2026-06-24 14:09:35 -04:00
2026-07-01 01:08:42 -04:00
2026-06-01 03:04:03 -04:00