Last active
December 5, 2018 00:04
-
-
Save gholadr/171e9483b77e1f33d3958cbf8b98ed73 to your computer and use it in GitHub Desktop.
french version
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
$('#demo').daterangepicker({ | |
"locale": { | |
"format": "MM/DD/YYYY", | |
"separator": " - ", | |
"applyLabel": "Appliquer", | |
"cancelLabel": "Annuler", | |
"fromLabel": "De", | |
"toLabel": "A", | |
"customRangeLabel": "Période personnalisée", | |
"weekLabel": "S", | |
"daysOfWeek": [ | |
"Di", | |
"Lu", | |
"Ma", | |
"Me", | |
"Je", | |
"Ve", | |
"Sa" | |
], | |
"monthNames": [ | |
"Janvier", | |
"Fevrier", | |
"Mars", | |
"Avril", | |
"Mai", | |
"Juin", | |
"Juillet", | |
"Aout", | |
"Septembre", | |
"Octobre", | |
"Novembre", | |
"Decembre" | |
], | |
"firstDay": 1 | |
}, | |
"startDate": "11/28/2018", | |
"endDate": "12/04/2018" | |
}, function(start, end, label) { | |
console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment