[PR #506] [MERGED] feat: dateformat and timezone customization #1011

Closed
opened 2026-02-26 19:31:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/506
Author: @Hallidayo
Created: 10/3/2023
Status: Merged
Merged: 12/26/2023
Merged by: @Mythie

Base: feat/refreshHead: date-format-setting


📝 Commits (10+)

  • 9139f3a date format select added
  • 7afe8cf constant files created
  • d916198 check if date field is in use
  • 8ba5b8a Merge branch 'feat/refresh' into date-format-setting
  • 4a9806c Merge branch 'feat/refresh' into date-format-setting
  • b936b5d chore: dummy change
  • 47af802 chore: remove dummy change
  • 6445d49 feat: added timezones
  • 29e5083 feat: created single combobox
  • 104e149 feat: added timezone dropdown

📊 Changes

45 files changed (+546 additions, -125 deletions)

View changed files

📝 apps/marketing/src/app/(marketing)/singleplayer/client.tsx (+5 -4)
📝 apps/marketing/src/components/(marketing)/single-player-mode/create-single-player-document.action.ts (+2 -1)
📝 apps/marketing/src/pages/api/stripe/webhook/index.ts (+3 -2)
📝 apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx (+2 -2)
📝 apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx (+10 -8)
📝 apps/web/src/app/(dashboard)/documents/upload-document.tsx (+1 -0)
📝 apps/web/src/app/(signing)/sign/[token]/date-field.tsx (+30 -6)
📝 apps/web/src/app/(signing)/sign/[token]/email-field.tsx (+3 -3)
📝 apps/web/src/app/(signing)/sign/[token]/form.tsx (+7 -2)
📝 apps/web/src/app/(signing)/sign/[token]/name-field.tsx (+3 -3)
📝 apps/web/src/app/(signing)/sign/[token]/page.tsx (+12 -1)
📝 apps/web/src/app/(signing)/sign/[token]/signature-field.tsx (+3 -3)
📝 apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx (+22 -2)
📝 apps/web/src/components/formatter/document-status.tsx (+2 -2)
📝 apps/web/src/components/formatter/locale-date.tsx (+4 -2)
📝 apps/web/src/components/forms/edit-document/add-subject.action.ts (+6 -4)
📝 package-lock.json (+6 -0)
📝 packages/email/templates/document-invite.tsx (+2 -4)
📝 packages/lib/client-only/recipient-type.ts (+2 -1)
packages/lib/constants/date-formats.ts (+71 -0)

...and 25 more files

📄 Description

Issue Type

Feature

Current Issue

It seems their is a generic/default date format when signing documents.

Fix

A select is now used where the user can pick what date format they want the date is in.

https://github.com/documenso/documenso/assets/22655069/fefcbec6-2386-423b-a587-dfb89467097e

Open to any ideas, questions etc...


🔄 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/documenso/documenso/pull/506 **Author:** [@Hallidayo](https://github.com/Hallidayo) **Created:** 10/3/2023 **Status:** ✅ Merged **Merged:** 12/26/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `date-format-setting` --- ### 📝 Commits (10+) - [`9139f3a`](https://github.com/documenso/documenso/commit/9139f3a3b4898ed0f64f096b1c68869e70be849d) date format select added - [`7afe8cf`](https://github.com/documenso/documenso/commit/7afe8cfa1855779f9ac94f385695e6bc66ff0c5e) constant files created - [`d916198`](https://github.com/documenso/documenso/commit/d9161985addb1bff6fe33193bc6a227f49577315) check if date field is in use - [`8ba5b8a`](https://github.com/documenso/documenso/commit/8ba5b8ac838d121be91a9ee1631b6bc98faddb18) Merge branch 'feat/refresh' into date-format-setting - [`4a9806c`](https://github.com/documenso/documenso/commit/4a9806cb6cc69147fb4c0dbc04ccd26b38f08384) Merge branch 'feat/refresh' into date-format-setting - [`b936b5d`](https://github.com/documenso/documenso/commit/b936b5dff81e7c9e7db02ede7c5f95859f402e99) chore: dummy change - [`47af802`](https://github.com/documenso/documenso/commit/47af80266d25cb4d5e9445ef032a7698c24527b7) chore: remove dummy change - [`6445d49`](https://github.com/documenso/documenso/commit/6445d4988e952f90b858be2e308a9a35a93e3880) feat: added timezones - [`29e5083`](https://github.com/documenso/documenso/commit/29e50831e275fda6f5cf072858f48b40cfa01d51) feat: created single combobox - [`104e149`](https://github.com/documenso/documenso/commit/104e149b87d3ddc6a9285c08393940966a2352e6) feat: added timezone dropdown ### 📊 Changes **45 files changed** (+546 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `apps/marketing/src/app/(marketing)/singleplayer/client.tsx` (+5 -4) 📝 `apps/marketing/src/components/(marketing)/single-player-mode/create-single-player-document.action.ts` (+2 -1) 📝 `apps/marketing/src/pages/api/stripe/webhook/index.ts` (+3 -2) 📝 `apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx` (+2 -2) 📝 `apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx` (+10 -8) 📝 `apps/web/src/app/(dashboard)/documents/upload-document.tsx` (+1 -0) 📝 `apps/web/src/app/(signing)/sign/[token]/date-field.tsx` (+30 -6) 📝 `apps/web/src/app/(signing)/sign/[token]/email-field.tsx` (+3 -3) 📝 `apps/web/src/app/(signing)/sign/[token]/form.tsx` (+7 -2) 📝 `apps/web/src/app/(signing)/sign/[token]/name-field.tsx` (+3 -3) 📝 `apps/web/src/app/(signing)/sign/[token]/page.tsx` (+12 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/signature-field.tsx` (+3 -3) 📝 `apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx` (+22 -2) 📝 `apps/web/src/components/formatter/document-status.tsx` (+2 -2) 📝 `apps/web/src/components/formatter/locale-date.tsx` (+4 -2) 📝 `apps/web/src/components/forms/edit-document/add-subject.action.ts` (+6 -4) 📝 `package-lock.json` (+6 -0) 📝 `packages/email/templates/document-invite.tsx` (+2 -4) 📝 `packages/lib/client-only/recipient-type.ts` (+2 -1) ➕ `packages/lib/constants/date-formats.ts` (+71 -0) _...and 25 more files_ </details> ### 📄 Description ### Issue Type Feature ### Current Issue It seems their is a generic/default date format when signing documents. ### Fix A select is now used where the user can pick what date format they want the date is in. https://github.com/documenso/documenso/assets/22655069/fefcbec6-2386-423b-a587-dfb89467097e Open to any ideas, questions etc... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1011
No description provided.