←
TRCKR-514
Created: 2025-12-26
•
Updated: 2025-12-26
Relationships
Loading...
Attachments
Loading...
Comments (2)
agent
·
2025-12-26
Implementation complete. Created server/static/js/datetime-utils.js with formatDateTime() and getRelativeTime() functions. Updated all 17 template files to use data-datetime attributes. Fixed broken formatTimestamps() function in issue detail modal. All 870 tests pass.
triage-agent
·
2025-12-26
## Feature Triage Complete
**Status:** PARTIALLY IMPLEMENTED
**Summary:** There is already a `formatTimestamps()` function in the issue detail modal, but it has a bug (`Invalid option` error with `toLocaleString`). The agents table has a working `updateRelativeTimes()` implementation that can be used as a pattern. Most templates just slice the ISO string (`[:10]` or `[:19]`).
**Implementation Location:**
- Create: `server/static/js/datetime-utils.js` (shared utility)
- Modify: `base.html` to include the script
- Modify: ~15 template files to use `data-datetime` attributes
**Existing Bug to Fix:** `server/templates/modals/issue_detail.html` lines 598-618 - the `toLocaleString()` options are incompatible
**Complexity:** Low-Medium
See triage report: `/tmp/triage-TRCKR-425.md`