[PR #1372] [MERGED] fix: dateformat bug #1592

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1372
Author: @catalinpit
Created: 10/1/2024
Status: Merged
Merged: 10/2/2024
Merged by: @dguyen

Base: mainHead: fix/date-format-issue


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/ui/primitives/document-flow/add-settings.tsx (+1 -1)

📄 Description

Description

It used the wrong property for finding the document's dateFormat in the DATE_FORMATS array.

Summary by CodeRabbit

  • New Features

    • Improved date format selection in the settings form to ensure accurate formatting based on value.
    • Default timezone now automatically set to the user's local timezone for better user experience.
  • Bug Fixes

    • Corrected initialization of the timezone field to enhance form accuracy.

🔄 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/1372 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 10/1/2024 **Status:** ✅ Merged **Merged:** 10/2/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/date-format-issue` --- ### 📝 Commits (1) - [`b041f96`](https://github.com/documenso/documenso/commit/b041f963981000515ecefb914c53587fb6a93e13) fix: dateformat bug ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/ui/primitives/document-flow/add-settings.tsx` (+1 -1) </details> ### 📄 Description ## Description It used the wrong property for finding the document's dateFormat in the `DATE_FORMATS` array. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved date format selection in the settings form to ensure accurate formatting based on value. - Default timezone now automatically set to the user's local timezone for better user experience. - **Bug Fixes** - Corrected initialization of the timezone field to enhance form accuracy. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:55 +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#1592
No description provided.