Skip to content

Commit

Permalink
fix: update pt-br locale (#628)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
reebr authored and iamkun committed Jul 13, 2019
1 parent 3032a62 commit ccf596d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/locale/pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import dayjs from 'dayjs'
const locale = {
name: 'pt-br',
weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
weekStart: 1,
months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
ordinal: n => `${n}º`,
formats: {
Expand Down

0 comments on commit ccf596d

Please sign in to comment.