vendor/assets/javascripts/flatpickr/l10n/fr.js in flatpickr-4.5.2.0 vs vendor/assets/javascripts/flatpickr/l10n/fr.js in flatpickr-4.5.2.1

- old
+ new

@@ -3,67 +3,30 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.fr = {}))); }(this, (function (exports) { 'use strict'; - const fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - const French = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"], - longhand: [ - "dimanche", - "lundi", - "mardi", - "mercredi", - "jeudi", - "vendredi", - "samedi", - ], - }, - months: { - shorthand: [ - "janv", - "févr", - "mars", - "avr", - "mai", - "juin", - "juil", - "août", - "sept", - "oct", - "nov", - "déc", - ], - longhand: [ - "janvier", - "février", - "mars", - "avril", - "mai", - "juin", - "juillet", - "août", - "septembre", - "octobre", - "novembre", - "décembre", - ], - }, - ordinal: nth => { - if (nth > 1) - return ""; - return "er"; - }, - rangeSeparator: " au ", - weekAbbreviation: "Sem", - scrollTitle: "Défiler pour augmenter la valeur", - toggleTitle: "Cliquer pour basculer", + var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { + l10ns: {} + }; + var French = { + firstDayOfWeek: 1, + weekdays: { + shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"], + longhand: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"] + }, + months: { + shorthand: ["janv", "févr", "mars", "avr", "mai", "juin", "juil", "août", "sept", "oct", "nov", "déc"], + longhand: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"] + }, + ordinal: function ordinal(nth) { + if (nth > 1) return ""; + return "er"; + }, + rangeSeparator: " au ", + weekAbbreviation: "Sem", + scrollTitle: "Défiler pour augmenter la valeur", + toggleTitle: "Cliquer pour basculer" }; fp.l10ns.fr = French; var fr = fp.l10ns; exports.French = French;