vaadin / vaadin-date-picker-flow

Vaadin Flow Java API for vaadin/vaadin-date-picker Web Component
https://vaadin.com/components/vaadin-date-picker
Other
1 stars 11 forks source link

Date format got changed when reopen the date picker inside dialog(RC3) #96

Closed jcgueriaud closed 5 years ago

jcgueriaud commented 6 years ago

Hello,

When I set the locale to the datepicker, open a dialog the date format is correct (french format). If I close the dialog and re-open it the date format is wrong (US format)

Here a running example: https://date-tester-vaadin10.herokuapp.com/date

And the code is here: https://github.com/jcgueriaud/test/blob/master/src/main/java/com/gmail/jeanchristophe/DatePickerView.java

I tried on multiple browsers (chromium on ubuntu, firefox on ubuntu, chrome on Windows 10).

Thanks,

denis-anisimov commented 6 years ago

There are two totally different issues. The one is a duplicate of https://github.com/vaadin/vaadin-grid-flow/issues/122.

Another one is about datepicker date format. Please do one of the following:

jcgueriaud commented 6 years ago

Ok I edit my 1st post and reformulate the issue. That's quite hard to know where the issues are (inside a vaadin-grid-flow for a problem without grid).

Thanks for your fast anwser

ZheSun88 commented 6 years ago

I have edited the title of this ticket to describe the issue. If it is not correct, feel free to change it.

jcgueriaud commented 6 years ago

Thanks for editing the title. Date format got changed and i18n configuration got changed. (label of month ...)

Nightbringer42 commented 6 years ago

Same problem here, with and without i18n modification.