mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: add german locale in datepicker (#48586)
* add german locale datepicker * only change short weeks and months * fix * Update index.test.tsx.snap Signed-off-by: lijianan <574980606@qq.com> * Update index.test.tsx.snap Signed-off-by: lijianan <574980606@qq.com> * test: update snap --------- Signed-off-by: lijianan <574980606@qq.com> Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
parent
b1ef8957ef
commit
3f339fc87f
@ -8,6 +8,21 @@ const locale: PickerLocale = {
|
||||
lang: {
|
||||
placeholder: 'Datum auswählen',
|
||||
rangePlaceholder: ['Startdatum', 'Enddatum'],
|
||||
shortWeekDays: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
||||
shortMonths: [
|
||||
'Jan',
|
||||
'Feb',
|
||||
'Mär',
|
||||
'Apr',
|
||||
'Mai',
|
||||
'Jun',
|
||||
'Jul',
|
||||
'Aug',
|
||||
'Sep',
|
||||
'Okt',
|
||||
'Nov',
|
||||
'Dez',
|
||||
],
|
||||
...CalendarLocale,
|
||||
},
|
||||
timePickerLocale: {
|
||||
|
@ -44449,7 +44449,7 @@ exports[`Locale Provider should display the text as de 1`] = `
|
||||
tabindex="-1"
|
||||
type="button"
|
||||
>
|
||||
Sept.
|
||||
Sep
|
||||
</button>
|
||||
<button
|
||||
class="ant-picker-year-btn"
|
||||
@ -46668,7 +46668,7 @@ exports[`Locale Provider should display the text as de 1`] = `
|
||||
tabindex="-1"
|
||||
type="button"
|
||||
>
|
||||
Sept.
|
||||
Sep
|
||||
</button>
|
||||
<button
|
||||
class="ant-picker-year-btn"
|
||||
@ -47206,7 +47206,7 @@ exports[`Locale Provider should display the text as de 1`] = `
|
||||
tabindex="-1"
|
||||
type="button"
|
||||
>
|
||||
Okt.
|
||||
Okt
|
||||
</button>
|
||||
<button
|
||||
class="ant-picker-year-btn"
|
||||
@ -48301,9 +48301,9 @@ exports[`Locale Provider should display the text as de 1`] = `
|
||||
</span>
|
||||
<span
|
||||
class="ant-select-selection-item"
|
||||
title="Sept."
|
||||
title="Sep"
|
||||
>
|
||||
Sept.
|
||||
Sep
|
||||
</span>
|
||||
</div>
|
||||
<span
|
||||
|
Loading…
Reference in New Issue
Block a user