fix: standardize frontend date formatting with shared utility (Closes #175) #186
Reference in New Issue
Block a user
Delete Branch "feature/issue-175-date-formatting-utility-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
formatDate,formatDateTime, and timestamp formatting functions from 8 Vue components into a sharedsrc/utils/dateFormat.jsutility moduledd.mm.yyyy) with explicit2-digitoptions across the entire frontendTest plan
npx webpack --node-env production)toLocaleDateString('de-DE')calls replaced except in the shared utilityfunction formatDatedefinitions in view/component filesCloses #175
Extract all inline date formatting functions into src/utils/dateFormat.js providing formatDate, formatDateTime, and formatTimestamp utilities. All views and components now use the shared module instead of duplicating toLocaleDateString('de-DE') calls with varying options. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>