Created
March 25, 2020 16:08
-
-
Save Quessada/57f1e1837626de9c39046cd1d8e5a744 to your computer and use it in GitHub Desktop.
Tradução para o Date Range Picker Time para PT-BR
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
$('input[name="datetimes"]').daterangepicker({ | |
timePicker: true, | |
startDate: moment().startOf('hour'), | |
endDate: moment().startOf('hour').add(32, 'hour'), | |
locale: { | |
"format": 'DD/MM/YYYY hh:mm A', | |
"separator": '~', | |
"applyLabel": 'Confirmar', | |
"cancelLabel": 'Cancelar', | |
"daysOfWeek": [ | |
"Dom", | |
"Seg", | |
"Ter", | |
"Qua", | |
"Qui", | |
"Sex", | |
"Sab" | |
], | |
"monthNames": [ | |
"Jan", | |
"Fev", | |
"Mar", | |
"Abr", | |
"Mai", | |
"Jun", | |
"Jul", | |
"Ago", | |
"Set", | |
"Out", | |
"Nov", | |
"Dez" | |
], | |
"firstDay" : 0 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment