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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem
Current behavior
When click on the date to edit it:
April 23, 2019 becomes 23/01/2019
When edit 23/01/2019 to 23/04/2019, it becomes April 23, 0019
Expected behavior
The date should not be broken by the date mask.
Minimal reproduction of the problem with instructions
Go in the demo app, in demo-ui > components > date-picker and reproduce the same steps than the one if the video above.
Environment
Stark version: 10.0.0-beta.7
The text was updated successfully, but these errors were encountered:
SuperITMan
changed the title
ui: datePicker - When using starkDateMask, the date is broken when click to edit it
ui: datePicker - When using starkDateMask, the date is broken when edit it
Apr 23, 2019
the translation initialization logic is not correct. The locale set in Moment is en-gb but it should be en (US English). This is because the last imported locale sets the current locale (in the Showcase/Starter the last imported locale was en-gb).
Apart from this, we should improve the logic when the application language changes because right now the Moment locale and the Material Date Adapter are not changed, which means that the date pickers don't show the date in the current language :(
I'm submitting a...
Current behavior
When click on the date to edit it:
Expected behavior
The date should not be broken by the date mask.
Minimal reproduction of the problem with instructions
Go in the demo app, in demo-ui > components > date-picker and reproduce the same steps than the one if the video above.
Environment
The text was updated successfully, but these errors were encountered: