Skip to content

Commit

Permalink
fix: interface for locale
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadip committed Jan 30, 2022
1 parent d0300c8 commit 1bfdf43
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/datepicker/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const nl = (): ILocale => {
};
};

const pt = (): any => {
const pt = (): ILocale => {
const langName = 'Português';
const monthFullName = [
'Janeiro',
Expand All @@ -258,7 +258,15 @@ const pt = (): any => {
];
const shortName = ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'];
const days = ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'];
const daysNames = ['Domingo', 'Segunda-Feira', 'Terça-Feira', 'Quarta-Feira', 'Quinta-Feira', 'Sexta-Feira', 'Sábado'];
const daysNames = [
'Domingo',
'Segunda-Feira',
'Terça-Feira',
'Quarta-Feira',
'Quinta-Feira',
'Sexta-Feira',
'Sábado',
];
const rtl = false;
const ymd = false;
const yearSuffix = '';
Expand Down

0 comments on commit 1bfdf43

Please sign in to comment.