Skip to content

✨ Add customizable range separator for date range selection in DatePicker#57

Merged
balajis-qb merged 1 commit into
mainfrom
feat/4741/custom-range-separator
Aug 8, 2025
Merged

✨ Add customizable range separator for date range selection in DatePicker#57
balajis-qb merged 1 commit into
mainfrom
feat/4741/custom-range-separator

Conversation

@balajis-qb

Copy link
Copy Markdown
Collaborator

Closes Hacker0x01#4741

Description

Linked issue: #(issue number)

Problem
As requested in the attached ticket, added a support to customize the separator of the Range Date Picker using a new prop rangeSeparator.

Changes

  • Introduced rangeSeparator prop to allow custom separators in date range formatting.
  • Updated safeDateRangeFormat to utilize the custom separator.
  • Added example for date range selection with a custom separator in documentation.
  • Enhanced tests to verify functionality of the new rangeSeparator feature.

Screenshots

image

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

@balajis-qb
balajis-qb force-pushed the feat/4741/custom-range-separator branch from 2084a3d to 335e375 Compare July 14, 2025 06:58
…DatePicker

- Introduced `rangeSeparator` prop to allow custom separators in date range formatting.
- Updated `safeDateRangeFormat` to utilize the custom separator.
- Added example for date range selection with a custom separator in documentation.
- Enhanced tests to verify functionality of the new `rangeSeparator` feature.

Closes Hacker0x01#4741
@balajis-qb
balajis-qb force-pushed the feat/4741/custom-range-separator branch from 335e375 to 8288d65 Compare July 14, 2025 08:14
@balajis-qb
balajis-qb merged commit b97a99b into main Aug 8, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make date range separator customizable

1 participant