Last active
April 6, 2021 21:36
-
-
Save stwgabriel/eb9a0099a5af869fc6484b6e41a3f91a to your computer and use it in GitHub Desktop.
Arrays com os meses do ano e os dias da semana em javascript | pt-BR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //meses | |
| const months = [ | |
| 'Janeiro', | |
| 'Fevereiro', | |
| 'Março', | |
| 'Abril', | |
| 'Maio', | |
| 'Junho', | |
| 'Julho', | |
| 'Agosto', | |
| 'Setembro', | |
| 'Outubro', | |
| 'Novembro', | |
| 'Dezembro' | |
| ]; | |
| //meses abreviados | |
| const shortMonths = [ | |
| 'Jan', | |
| 'Fev', | |
| 'Mar', | |
| 'Abr', | |
| 'Mai', | |
| 'Jun', | |
| 'Jul', | |
| 'Ago', | |
| 'Set', | |
| 'Out', | |
| 'Nov', | |
| 'Dez' | |
| ] | |
| //Dias da semana | |
| const Days = [ | |
| 'Domingo', | |
| 'Segunda-Feira', | |
| 'Terça-Feira', | |
| 'Quarta-Feira', | |
| 'Quinta-Feira', | |
| 'Sexta-Feira', | |
| 'Sábado' | |
| ] | |
| //Dias da semana abreviado | |
| const shortDays = [ | |
| 'Dom', | |
| 'Seg', | |
| 'Ter', | |
| 'Qua, | |
| 'Qui', | |
| 'Sex', | |
| 'Sab' | |
| ] | |
| const shortDaysAlt = [ | |
| 'D', | |
| 'S', | |
| 'T', | |
| 'Q', | |
| 'Q', | |
| 'S', | |
| 'S' | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment