←
TRCKR-623
Created: 2025-12-26
•
Updated: 2025-12-27
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-27
## Implementation Complete
### Changes Made
Modified `getFullDateTime()` function in `server/static/js/datetime-utils.js:113-138`.
**Before:** Verbose English format using `toLocaleString()`:
```
"Thursday, December 26, 2025 at 2:18:20 AM"
```
**After:** ISO-style format with manual formatting:
```
"2025-12-26 14:18 PST"
```
### Implementation Details
- Used `padStart(2, '0')` for zero-padded year, month, day, hours, minutes
- Extracted timezone abbreviation via `toLocaleTimeString('en-US', { timeZoneName: 'short' })`
- Updated JSDoc comment to document new format
### Verification
1. JavaScript syntax validated with `node --check`
2. Function tested directly with multiple ISO datetime inputs - all produce correct `YYYY-MM-DD HH:MM TZ` format
3. Edge cases handled: null, empty string, invalid dates all fallback correctly
4. Python test suite passed (2 pre-existing unrelated failures)
### Ready for QA
Navigate to any page with datetime displays (e.g., /web/issues) and hover over any datetime value to verify the new tooltip format.