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

Changing date in range selector is resetting time to 12 #190

Open
jainvizz opened this issue May 31, 2022 · 3 comments
Open

Changing date in range selector is resetting time to 12 #190

jainvizz opened this issue May 31, 2022 · 3 comments

Comments

@jainvizz
Copy link

jainvizz commented May 31, 2022

I have a range plugin date picker and when I am changing date, it is not retaining user selected time. Instead it is resetting it to 12.

Steps to reproduce:

Select from date in range picket and change time
Select a diff. date

Expected: Time selection should retain
Actual: Time selection getting reset to 12

Similar issue was raised here flatpickr/flatpickr#1393
but looks like it is not working for react-flatpickr. Here is the codesandbox link

https://codesandbox.io/s/elegant-tharp-bfm1ee

Version Used: 3.9.0 (I tried upgrading to latest version as well but no help)
Platform: Window/Chrome
Mode: Range

@jacobmischka
Copy link
Collaborator

Please provide a codesandbox link that demonstrates the behavior you're talking about, thanks!

@jainvizz
Copy link
Author

@jacobmischka I already added link in the description itself. Pasting it here again

https://codesandbox.io/s/elegant-tharp-bfm1ee

@jainvizz
Copy link
Author

jainvizz commented Oct 11, 2022

@jacobmischka Did you get a chance to look into this issue?

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

No branches or pull requests

2 participants