You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I went here because I couldn't see this in the documentation, but when you select a date it also includes the time, i.e., 2016-05-19T12:00:00.000Z, but I only want 2016-05-19. I saw that onChange callback can accept a second argument which is the formattedValue that looks like 2016-05-19. Is it possible to get what was given on the dateFormat props as the value when the user selected a date? so if the dateFormat was something like MM-DD-YYYY H:i:s we get 12-05-2017 00:00:00 or if the dateFormat was YYYY.MM.DD we get 12.05.2017 as the value.
The text was updated successfully, but these errors were encountered:
Hello, I went here because I couldn't see this in the documentation, but when you select a date it also includes the time, i.e.,
2016-05-19T12:00:00.000Z
, but I only want2016-05-19
. I saw that onChange callback can accept a second argument which is the formattedValue that looks like2016-05-19
. Is it possible to get what was given on thedateFormat
props as the value when the user selected a date? so if the dateFormat was something likeMM-DD-YYYY H:i:s
we get12-05-2017 00:00:00
or if the dateFormat wasYYYY.MM.DD
we get12.05.2017
as the value.The text was updated successfully, but these errors were encountered: