You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As #274, Portuguese (pt) and Brazilian Portuguese (pt-br) have lowercase weekdays (sexta-feira, sábado etc) and months (janeiro, fevereiro, etc).
Seems that the author of pt/pt-br just followed the en pattern, that doesn't apply to us.
I will keep WeekdaysMin Do and Sá in their uppercase format as it looks better when next to the other WeekdaysMin that begins with a number (2ª, ...6ª). If someone thinks it would be good to also change them to lowercase, feel free to discuss, open issue, PR, etc. Keeping it just for aesthetics.
Describe the bug
As #274, Portuguese (pt) and Brazilian Portuguese (pt-br) have lowercase weekdays (sexta-feira, sábado etc) and months (janeiro, fevereiro, etc).
Other Romance languages are following their same lowercase rules:
https://github.com/iamkun/dayjs/blob/master/src/locale/es.js
https://github.com/iamkun/dayjs/blob/master/src/locale/it.js
https://github.com/iamkun/dayjs/blob/master/src/locale/fr.js
Seems that the author of pt/pt-br just followed the en pattern, that doesn't apply to us.
I will keep WeekdaysMin
Do
andSá
in their uppercase format as it looks better when next to the other WeekdaysMin that begins with a number (2ª
, ...6ª
). If someone thinks it would be good to also change them to lowercase, feel free to discuss, open issue, PR, etc. Keeping it just for aesthetics.Expected behavior
Lowercase weekdays and months
Sources
https://www.jn.pt/artes/dossiers/portugues-atual/maiusculas-eou-minusculas-3784419.html
https://www.infopedia.pt/$marco-ou-marco
https://blogs.correiobraziliense.com.br/dad/maiusculas-e-minusculas-meses-3/
https://blogs.correiobraziliense.com.br/dad/nome-de-mes-e-vira-lata/
Information
I will also PR it.
The text was updated successfully, but these errors were encountered: