diff --git a/components/date-picker/locale/pl_PL.ts b/components/date-picker/locale/pl_PL.ts index a9b4267a49..7487d52cba 100644 --- a/components/date-picker/locale/pl_PL.ts +++ b/components/date-picker/locale/pl_PL.ts @@ -8,6 +8,27 @@ const locale: PickerLocale = { lang: { placeholder: 'Wybierz datę', rangePlaceholder: ['Data początkowa', 'Data końcowa'], + yearFormat: 'YYYY', + dateFormat: 'M/D/YYYY', + dayFormat: 'D', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + monthFormat: 'MMMM', + monthBeforeYear: true, + shortWeekDays: ['Niedz', 'Pon', 'Wt', 'Śr', 'Czw', 'Pt', 'Sob'], + shortMonths: [ + 'Sty', + 'Lut', + 'Mar', + 'Kwi', + 'Maj', + 'Cze', + 'Lip', + 'Sie', + 'Wrz', + 'Paź', + 'Lis', + 'Gru', + ], ...CalendarLocale, }, timePickerLocale: { diff --git a/components/locale/__tests__/__snapshots__/index.test.tsx.snap b/components/locale/__tests__/__snapshots__/index.test.tsx.snap index c109dfabd0..0dc3d5e6f4 100644 --- a/components/locale/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/locale/__tests__/__snapshots__/index.test.tsx.snap @@ -262107,7 +262107,7 @@ exports[`Locale Provider should display the text as pl 1`] = ` tabindex="-1" type="button" > - wrz + wrzesień