Skip to content

Conversation

@spiritanand
Copy link
Contributor

@spiritanand spiritanand commented Jan 16, 2025

image
Screen.Recording.2025-01-16.at.22.37.36.mov

Important

Ensures DatePicker selected date is within specified range and refactors parseDate function for modularity.

  • Behavior:
    • Ensures selected date in DatePicker is within minimumDate and maximumDate in DatePicker.tsx.
    • Adjusts date using useEffect if it falls outside the specified range.
  • Refactoring:
    • Moves parseDate function to parseDate.ts for modularity.
  • Examples:
    • Updates date format in DatePickerExample.jsx for minimumDate and maximumDate.

This description was created by Ellipsis for ca74bdb. It will automatically update as commits are pushed.

@linear
Copy link

linear bot commented Jan 16, 2025

@github-actions
Copy link

Published version: @draftbit/ui@51.2.1-6e6d4b.2

@spiritanand spiritanand merged commit ff8e580 into master Jan 16, 2025
3 checks passed
@spiritanand spiritanand deleted the suryansh/p-5872-date-picker-returns-wrong-date-on-selection-ios-only-master branch January 16, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants