Skip to content

Commit ccf596d

Browse files
reebriamkun
authored andcommitted
fix: update pt-br locale (#628)
* Add weekdays short for portuguese (br) locale. * Removing dots from 'weekdaysShort' and adding 'weekdaysMin'. * Add 'weekStart' and 'monthsShort' to pt-br language. * Removing 'monthsShort' from pt-br locale. * Removing 'weekdaysShort' from pt-br locale.
1 parent 3032a62 commit ccf596d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/locale/pt-br.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import dayjs from 'dayjs'
33
const locale = {
44
name: 'pt-br',
55
weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
6+
weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
7+
weekStart: 1,
68
months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
79
ordinal: n => `${n}º`,
810
formats: {

0 commit comments

Comments
 (0)