Created
July 23, 2014 14:15
-
-
Save fedir/9d158c35144d5511bfde to your computer and use it in GitHub Desktop.
Pikaday French i18n
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
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', 'Mon', '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 | |
}); | |
The short name for monday is actually wrong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
short week day for Monday should be 'Lun' not 'Mon'