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

non-english format not working correct #281

Closed
vklein opened this issue Feb 1, 2017 · 1 comment
Closed

non-english format not working correct #281

vklein opened this issue Feb 1, 2017 · 1 comment
Labels
bug Oh no, something's broken :-(

Comments

@vklein
Copy link

vklein commented Feb 1, 2017

Hi,

since version v5.2.0 the non-english locale format is not working correct anymore.

bildschirmfoto 2017-02-01 um 16 19 51

As you can see in the screenshot the Date Format in the Open SingleDatePicker is correct, but the shown Date in the Input-Field is always in english format. "YYYY-MM-DD".

I think the problem is that you have to change the Prop you pass to the SingleDatePickerInput from
dateValue={dateString} to displayValue={dateString} because the prop name changed.

@majapw
Copy link
Collaborator

majapw commented Feb 1, 2017

You are totes right! I will update that immediately. Thank you for the catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oh no, something's broken :-(
Projects
None yet
Development

No branches or pull requests

2 participants