Open LucasBrazi06 opened 1 year ago
I set the locale to 'fr' but the formatted date is still in 'en':
Same problem, @LucasBrazi06 did you find the solution?
Having same problem here.
@marten790 I used 5.0.2 version and it works
Im using 6.0.4 and on date range my left date picker always shows max UTC time on the left and max Local time on the right when I set max date to anything. Not sure if the issue returned in a later version
After comparing 5.0.2 and 6.0.4, I found out that I needed to use esm version of dayjs like so:
import dayjs from 'dayjs/esm';
Hope this helps.
@fetrarij Any fix for this critical bug?
Versions
Describe the bug The date selected in the UI (localized) should not be equals to the ISO date:![image](https://user-images.githubusercontent.com/25266945/197136485-50bbc185-cd07-420f-85c3-0800ab98d5e0.png)
To Reproduce Steps to reproduce the behavior:
Have you imported all locales in Dayjs? https://day.js.org/docs/en/i18n/changing-locale
Expected behavior I should have the ISO date taking into account the time zone. It worked with previous version I had (5.0.2)