From 6529b611a43e32107103fdd6514867d5cf2fdb2b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 16 Jul 2020 19:21:53 +0200 Subject: [PATCH] Update flatPickr 4.6.3 --- core/vendor/flatpickr/l10n/fr.js | 85 +++++++++++++++++++++++--------- 1 file changed, 61 insertions(+), 24 deletions(-) diff --git a/core/vendor/flatpickr/l10n/fr.js b/core/vendor/flatpickr/l10n/fr.js index 2c9a8fe8..29b7f4b5 100755 --- a/core/vendor/flatpickr/l10n/fr.js +++ b/core/vendor/flatpickr/l10n/fr.js @@ -1,38 +1,75 @@ -/* flatpickr v4.5.2, @license MIT */ (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define(['exports'], factory) : - (factory((global.fr = {}))); -}(this, (function (exports) { 'use strict'; + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = global || self, factory(global.fr = {})); +}(this, function (exports) { 'use strict'; - var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { - l10ns: {} - }; - var French = { + 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"] + 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"] + 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 "ème"; - return "er"; + ordinal: function (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; + toggleTitle: "Cliquer pour basculer", + time_24hr: true + }; + fp.l10ns.fr = French; + var fr = fp.l10ns; - exports.French = French; - exports.default = fr; + exports.French = French; + exports.default = fr; - Object.defineProperty(exports, '__esModule', { value: true }); + Object.defineProperty(exports, '__esModule', { value: true }); -}))); +})); \ No newline at end of file