This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
Problem in datepicker with a different format #72
Comments
7 tasks
Probably related to #57 |
I don't know if i need to create a new ticket but I tried with Vaadin platform beta 11 ( com/vaadin/vaadin-date-picker-flow/1.0.0.beta14/vaadin-date-picker-flow-1.0.0.beta14.jar and org/webjars/bowergithub/vaadin/vaadin-date-picker/3.0.1/vaadin-date-picker-3.0.1.jar ). And I have the same issue If you choose france locale and set a localeDate (now()) then the display date is 5/30/2018 (instead of 30/05/2018). The problem seems solved for edge. |
Created a new ticket on the issue. #84 |
DatePicker dpStartDate = new DatePicker( "" ); TR Locale working fine in Laptop browsers but not in mobile browsers. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I set a date format (in french it's DD/MM/YYYY instead MM/DD/YYYY) for the datepicker (from vaadin flow version beta9).
If you choose france locale and set a localeDate (now()) then the display date is 5/7/2018 (instead of 07/05/2018).
If you use Edge (I don't have problems with Firefox or chrome), and select 31/05/2018 (31st May) then it's interpreted as Month = 31 and day = 05 (so the selected date is in 2020).
Here an example:
The text was updated successfully, but these errors were encountered: