-
-
Save Neferetheka/726c0d390aedb64b42182e627b95aa11 to your computer and use it in GitHub Desktop.
Pikaday French i18n
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
var i18n = { | |
previousMonth : 'Mois précédent', | |
nextMonth : 'Mois prochain', | |
months : ['Janvier','Février', 'Mars','Avril','Mai','Juin','Juillet','Août','Septembre',"Octobre","Novembre","Décembre"], | |
weekdays : ['dimanche'," lundi "," mardi "," mercredi "," jeudi "," vendredi "," samedi "], | |
weekdaysShort : ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'] | |
}; | |
$("#date").pikaday({ | |
format: "YYYY-MM-DD", //adjust to your liking | |
changeMonth: true, | |
changeYear: true, | |
maxDate: moment().toDate(), | |
yearRange: [2010,2020], | |
i18n: i18n, | |
firstDay:1 | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment