formatDate moment integration bug #1123
Unanswered
gatispriede
asked this question in
Support
Replies: 1 comment
-
Also affects from type same way, data input = normal Date object |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
formatDate from 'react-day-picker/moment' has a bug parsing years, when you use 2 months, together with input field, changing
to
field to next year , and then re-opening shows previous year, took me a while to figure out that that's the function that causes issues.Sample code with faulty peace commented out:
Beta Was this translation helpful? Give feedback.
All reactions