Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with leap year while typing #659

Closed
2 tasks done
kumarrsk opened this issue Apr 10, 2024 · 2 comments
Closed
2 tasks done

issue with leap year while typing #659

kumarrsk opened this issue Apr 10, 2024 · 2 comments
Labels
bug Something isn't working stale

Comments

@kumarrsk
Copy link

Before you start - checklist

  • I followed instructions in documentation written for my React-Date-Picker version
  • I have checked if this bug is not already reported

Description

Hi,
I have set the date format on my date picker as MM/dd/yyyy.
However, when the user writes a date in the input, for example 02/29/200 , the date picker value becomes 03/01/200 , so it looks like the date format is still the original for the user input.
Has anyone had this issue before and knows a solution?

Steps to reproduce

change the format to MM/dd/yyyy
type 02/29/200
it will change to 03/01/200

Expected behavior

till needs to wait to add complete year

Actual behavior

changing the date to next day

Additional information

No response

Environment

  • Browser (if applicable):
  • React-Date-Picker version:
  • React version:
@kumarrsk kumarrsk added the bug Something isn't working label Apr 10, 2024
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Jul 15, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant