Skip to content

Instantly share code, notes, and snippets.

@fmarcia
Created March 14, 2018 22:10
Show Gist options
  • Save fmarcia/0f0335828723da68a8a9d3065618a52a to your computer and use it in GitHub Desktop.
Save fmarcia/0f0335828723da68a8a9d3065618a52a to your computer and use it in GitHub Desktop.
pickmeup.defaults.locales['fr'] = {
days: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
daysShort: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
daysMin: ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa'],
months: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
monthsShort: ['Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Aoû', 'Sep', 'Oct', 'Nov', 'Déc']
};
pickmeup('.range', {
flat: true,
mode : 'range',
select_year: false,
title_format: "B Y",
locale: 'fr',
max: new Date()
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment