summaryrefslogtreecommitdiff
path: root/internal/task/stats.go
AgeCommit message (Collapse)Author
2026-02-28refactor(task): centralize Taskwarrior date format as task.DateFormatPaul Buetow
DRY/MEDIUM task (UUID 2c74960f): the format string "20060102T150405Z" was hardcoded in 5+ places across the task and ui packages. - Export task.DateFormat constant from internal/task/task.go - Replace hardcoded string in task.go and stats.go with DateFormat - Update internal/ui/helpers.go to alias the constant (taskDateFormat = task.DateFormat) rather than repeating the string literal - Replace all 6 raw string literals in table.go with task.DateFormat - Remove duplicate dueText() from table.go; its only call site now uses formatDueText() from helpers.go, which also normalises to midnight UTC for more accurate day-difference calculations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2025-06-20Add cell navigation, editor hotkey, stats and filterPaul Bütow