mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
The list_backups function was creating timezone-naive datetime objects, which caused the frontend to incorrectly interpret timestamps. Now uses datetime.UTC when creating timestamps from file modification time (consistent with other usage in this file on lines 186, 216), so the ISO string includes timezone info (+00:00). This allows the browser to properly convert UTC timestamps to the user's local timezone for display. Before: Backend sends "2025-12-09T14:12:44" (ambiguous timezone) After: Backend sends "2025-12-09T14:12:44+00:00" (explicit UTC) The frontend's toLocaleString() will now correctly convert to local time. |
||
|---|---|---|
| .. | ||
| accounts | ||
| api | ||
| backups | ||
| channels | ||
| dashboard | ||
| epg | ||
| hdhr | ||
| m3u | ||
| output | ||
| plugins | ||
| proxy | ||
| vod | ||