iamvivekkaushik/DatePickerTimelineFlutter

Locale data has not been initialized

istepler opened this issue · 2 comments

Hi, thanks for very good library. But I have the issue. I am new in Flutter, so maybe doing smth wrong.

Implemented the last library version with locale, but get an error

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following LocaleDataException was thrown building DateWidget(dirty):
Locale data has not been initialized, call initializeDateFormatting().

https://pasteboard.co/IzOhjdB.png

Hi @istepler, thanks for letting me know about the issue. You aren't doing anything wrong, I forgot to initialize the DateFormatting in the previous version. I have fixed the issue and will publish it now.

Thanks! Very quick work