Closed JLNNN closed 4 years ago
Describe the bug If I use a different locale, I'm expecting the days of the week (Mo-Su) to be translated.
To Reproduce Steps to reproduce the behavior:
de
datePickerOptions = { locale: deLocale }
Expected behavior The overlay uses localized translations for the days. Example de (German): Mo = Mo Tu = Di We = Mi Th = Do Fr = Fr Sa = Sa Su = So
Versions (please complete the following information):
After trying and debugging different things, the following is working:
public datePickerOptions: DatePickerOptions = { locale: {locale: de}, // ... }
Describe the bug If I use a different locale, I'm expecting the days of the week (Mo-Su) to be translated.
To Reproduce Steps to reproduce the behavior:
de
)Expected behavior The overlay uses localized translations for the days. Example de (German): Mo = Mo Tu = Di We = Mi Th = Do Fr = Fr Sa = Sa Su = So
Versions (please complete the following information):