←
TRCKR-305
Created: 2025-12-12
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (2)
joe
·
2025-12-12
Add a formatted datetime stamp, not the raw " 2025-12-12T02:22:09.142374+00:00 " that I see now
agent
·
2025-12-12
Fixed the created timestamp display in the issue edit modal.
## Changes Made
**File: server/templates/modals/issue_detail.html**
1. **Line 58-67**: Changed the Created field from displaying only the first 10 characters (date only) to using a `<time>` element with the full UTC timestamp in the `datetime` attribute.
2. **Lines 281-302**: Added `formatTimestamps()` JavaScript function that:
- Queries all `<time class='timestamp'>` elements on page load
- Reads the UTC timestamp from the `datetime` attribute
- Converts to local timezone using JavaScript's `Date.toLocaleString()`
- Formats with `dateStyle: 'full', timeStyle: 'long', timeZoneName: 'short'`
- Example output: 'Wednesday, December 11, 2025 at 7:22:09 PM PST'
3. The function runs automatically on page load to format all timestamps
## Testing
- All 1229 tests passed (39 skipped)
- No test failures
- Merge conflict with TRCKR-306 (description editing) resolved successfully
## Verification
The created timestamp now displays as a full, human-readable local datetime with timezone information instead of just the abbreviated date.