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

turn off time? #145

Open
aprilmintacpineda opened this issue Dec 5, 2017 · 0 comments
Open

turn off time? #145

aprilmintacpineda opened this issue Dec 5, 2017 · 0 comments

Comments

@aprilmintacpineda
Copy link

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.

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

1 participant