Last active
October 15, 2024 14:01
-
-
Save thallisphp/5508804 to your computer and use it in GitHub Desktop.
Array com nomes dos meses e dias da semana em português do Brasil
This file contains 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
<?php | |
$meses = array( | |
1 => 'Janeiro', | |
'Fevereiro', | |
'Março', | |
'Abril', | |
'Maio', | |
'Junho', | |
'Julho', | |
'Agosto', | |
'Setembro', | |
'Outubro', | |
'Novembro', | |
'Dezembro' | |
); | |
$meses_abreviado = array( | |
1 => 'Jan', | |
'Fev', | |
'Mar', | |
'Abr', | |
'Mai', | |
'Jun', | |
'Jul', | |
'Ago', | |
'Set', | |
'Out', | |
'Nov', | |
'Dez' | |
); | |
$dias_da_semana = array( | |
'Domingo', | |
'Segunda-Feira', | |
'Terça-Feira', | |
'Quarta-Feira', | |
'Quinta-Feira', | |
'Sexta-Feira', | |
'Sábado' | |
); |
Pra quem quiser um array com value:
const MonthsEnum = {months:[
{name: 'Janeiro', value: 'JANEIRO'},
{name: 'Fevereiro', value: 'FEVEREIRO'},
{name: 'Março', value: 'MARCO'},
{name: 'Abril', value: 'ABRIL'},
{name: 'Maio', value: 'MAIO'},
{name: 'Junho', value: 'JUNHO'},
{name: 'Julho', value: 'JULHO'},
{name: 'Agosto', value: 'AGOSTO'},
{name: 'Setembro', value: 'SETEMBRO'},
{name: 'Outubro', value: 'OUTUBRO'},
{name: 'Novembro', value: 'NOVEMBRO'},
{name: 'Dezembro', value: 'DEZEMBRO'},
]};
Maravilha Amo todos vocês!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Iniciais dos dias ;)
['D', 'S', 'T', 'Q', 'Q', 'S', 'S']