Skip to content

Commit

Permalink
Merge pull request shubhadip#78 from codepainters/master
Browse files Browse the repository at this point in the history
Added 'cs' locale.
  • Loading branch information
shubhadip authored Dec 2, 2023
2 parents 8656777 + 0a786d8 commit 0ac4b32
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/components/datepicker/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,30 @@ const zh_TW = (): ILocale => {
};
};

const cs = (): ILocale => {
const langName = 'Czech';
const monthFullName = ['Leden', 'Únor', 'Březen', 'Duben', 'Smět', 'Červen',
'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'];
const shortName = ['Led', 'Úno', 'Bře', 'Dub', 'Smě', 'Čen',
'Čec', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'];
const days = ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'];
const daysNames = ['Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'];
const rtl = false;
const ymd = false;
const yearSuffix = '';
return {
months: monthFullName,
monthsAbbr: shortName,
days,
language: langName,
yearSuffix,
ymd,
rtl,
langName,
daysNames,
};
};

export const data = {
ar: ar(),
af: af(),
Expand All @@ -754,5 +778,6 @@ export const data = {
vn: vn(),
bg: bg(),
kr: kr(),
id: id()
id: id(),
cs: cs()
};

0 comments on commit 0ac4b32

Please sign in to comment.