[PR #1192] [MERGED] feat: add display setting for dates #7365

Closed
opened 2026-04-20 17:40:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1192
Author: @kolaente
Created: 7/29/2025
Status: Merged
Merged: 7/30/2025
Merged by: @kolaente

Base: mainHead: codex/plan-for-adding-date-display-setting


📝 Commits (10+)

📊 Changes

23 files changed (+213 additions, -41 deletions)

View changed files

frontend/cypress/e2e/task/date-display.spec.ts (+57 -0)
📝 frontend/cypress/e2e/task/task.spec.ts (+13 -10)
📝 frontend/src/components/input/Datepicker.vue (+2 -2)
📝 frontend/src/components/notifications/Notifications.vue (+2 -2)
📝 frontend/src/components/tasks/partials/Attachments.vue (+2 -2)
📝 frontend/src/components/tasks/partials/Comments.vue (+3 -3)
📝 frontend/src/components/tasks/partials/CreatedUpdated.vue (+4 -4)
📝 frontend/src/components/tasks/partials/DateTableCell.vue (+2 -2)
📝 frontend/src/components/tasks/partials/KanbanCard.vue (+2 -2)
📝 frontend/src/components/tasks/partials/ReminderDetail.vue (+3 -3)
📝 frontend/src/components/tasks/partials/SingleTaskInProject.vue (+2 -2)
📝 frontend/src/components/tasks/partials/SingleTaskInlineReadonly.vue (+2 -2)
frontend/src/composables/useDateDisplay.ts (+9 -0)
frontend/src/constants/dateDisplay.ts (+13 -0)
📝 frontend/src/helpers/time/formatDate.ts (+43 -0)
📝 frontend/src/i18n/lang/en.json (+10 -0)
📝 frontend/src/modelTypes/IUserSettings.ts (+2 -0)
📝 frontend/src/models/userSettings.ts (+2 -0)
📝 frontend/src/stores/auth.ts (+2 -0)
📝 frontend/src/views/Home.vue (+2 -2)

...and 3 more files

📄 Description

Summary

  • lay out steps to implement a customizable date display
  • add enum for date display options
  • persist option in user settings and auth store
  • expose a useDateDisplay composable
  • update date formatting helpers and components
  • add translations and settings UI to choose format

Testing

  • pnpm lint:fix
  • mage lint:fix

https://chatgpt.com/codex/tasks/task_e_68835b9d74988322bb6b14bf89e0fee9


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1192 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 7/29/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/plan-for-adding-date-display-setting` --- ### 📝 Commits (10+) - [`d849fab`](https://github.com/go-vikunja/vikunja/commit/d849fab486ba32a9d6ac5f96fd0caa09e9eea1e3) feat: add configurable date display - [`07624db`](https://github.com/go-vikunja/vikunja/commit/07624db724e9dda862022b923601d107704a3a46) test: verify date display formats - [`f52bd89`](https://github.com/go-vikunja/vikunja/commit/f52bd8923fe1144709cd01efe2a15a0e4be58a38) formatting - [`c593e02`](https://github.com/go-vikunja/vikunja/commit/c593e023ee93a11adcca0604e8531c8d69262951) revert - [`fee9557`](https://github.com/go-vikunja/vikunja/commit/fee9557e3897201b89cc0628c18763a59e56eb43) refactor - [`5707fbf`](https://github.com/go-vikunja/vikunja/commit/5707fbfc9f2bf60b6f5625acfa4f5455287a152e) use current date in settings - [`ae4a038`](https://github.com/go-vikunja/vikunja/commit/ae4a03871a63a8ff27430074f68d6709056170ce) translation updates - [`42aba3d`](https://github.com/go-vikunja/vikunja/commit/42aba3d83bc670c4ec5eca7cbae378835e640a95) foprmatting - [`5e4e42b`](https://github.com/go-vikunja/vikunja/commit/5e4e42b71c280d8c3db82fd0001f6aba7cf0c33e) foo - [`b6729d7`](https://github.com/go-vikunja/vikunja/commit/b6729d7ff3e4883dba6c69bcda39a7d83aa17874) since should be since ### 📊 Changes **23 files changed** (+213 additions, -41 deletions) <details> <summary>View changed files</summary> ➕ `frontend/cypress/e2e/task/date-display.spec.ts` (+57 -0) 📝 `frontend/cypress/e2e/task/task.spec.ts` (+13 -10) 📝 `frontend/src/components/input/Datepicker.vue` (+2 -2) 📝 `frontend/src/components/notifications/Notifications.vue` (+2 -2) 📝 `frontend/src/components/tasks/partials/Attachments.vue` (+2 -2) 📝 `frontend/src/components/tasks/partials/Comments.vue` (+3 -3) 📝 `frontend/src/components/tasks/partials/CreatedUpdated.vue` (+4 -4) 📝 `frontend/src/components/tasks/partials/DateTableCell.vue` (+2 -2) 📝 `frontend/src/components/tasks/partials/KanbanCard.vue` (+2 -2) 📝 `frontend/src/components/tasks/partials/ReminderDetail.vue` (+3 -3) 📝 `frontend/src/components/tasks/partials/SingleTaskInProject.vue` (+2 -2) 📝 `frontend/src/components/tasks/partials/SingleTaskInlineReadonly.vue` (+2 -2) ➕ `frontend/src/composables/useDateDisplay.ts` (+9 -0) ➕ `frontend/src/constants/dateDisplay.ts` (+13 -0) 📝 `frontend/src/helpers/time/formatDate.ts` (+43 -0) 📝 `frontend/src/i18n/lang/en.json` (+10 -0) 📝 `frontend/src/modelTypes/IUserSettings.ts` (+2 -0) 📝 `frontend/src/models/userSettings.ts` (+2 -0) 📝 `frontend/src/stores/auth.ts` (+2 -0) 📝 `frontend/src/views/Home.vue` (+2 -2) _...and 3 more files_ </details> ### 📄 Description ## Summary - lay out steps to implement a customizable date display - add enum for date display options - persist option in user settings and auth store - expose a useDateDisplay composable - update date formatting helpers and components - add translations and settings UI to choose format ## Testing - `pnpm lint:fix` - `mage lint:fix` ------ https://chatgpt.com/codex/tasks/task_e_68835b9d74988322bb6b14bf89e0fee9 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 17:40:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#7365