tududi/frontend/components/Task/TaskDetails
Chris f1ea7843a7
Fix date format inconsistency in Defer Until field (#941)
Fixes #938

The Defer Until field was using i18n.language directly instead of
resolveUserLocale(), causing it to display dates in MM/DD/YYYY format
(US default) regardless of timezone setting.

Now uses the same locale resolution pattern as the Due Date field,
which combines language with timezone-derived country code (e.g.,
"en" + Greek timezone → "en-GR" → DD/MM/YYYY format).

Changes:
- Import useMemo and resolveUserLocale
- Add displayLocale memo to resolve timezone-aware locale
- Use displayLocale instead of i18n.language in toLocaleString()
2026-03-14 08:04:00 +02:00
..
index.ts Fix refactor pt2 (#734) 2025-12-27 17:46:34 +02:00
TaskAttachmentsCard.tsx Fix attachments layout 2025-12-07 14:12:38 +02:00
TaskContentCard.tsx Feat refactor task details (#660) 2025-12-06 09:41:58 +02:00
TaskDeferUntilCard.tsx Fix date format inconsistency in Defer Until field (#941) 2026-03-14 08:04:00 +02:00
TaskDetailsHeader.tsx Fix new task in mobile (#857) 2026-02-24 13:03:38 +02:00
TaskDueDateCard.tsx Fix date format to respect timezone preference, not just language (#898) (#916) 2026-03-06 15:44:15 +02:00
TaskProjectCard.tsx Feat refactor task details (#660) 2025-12-06 09:41:58 +02:00
TaskRecurrenceCard.tsx Fix date format to respect timezone preference, not just language (#898) (#916) 2026-03-06 15:44:15 +02:00
TaskRecurringInstanceInfo.tsx Cleanup recurring tasks 2025-12-07 14:12:38 +02:00
TaskSubtasksCard.tsx Fix saving subtasks on edit (#806) 2026-01-31 08:29:44 +02:00
TaskTagsCard.tsx Feat refactor task details (#660) 2025-12-06 09:41:58 +02:00