vendor/assets/javascripts/flatpickr/l10n/nl.js in flatpickr-4.5.2.0 vs vendor/assets/javascripts/flatpickr/l10n/nl.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.nl = {}))); }(this, (function (exports) { 'use strict'; - const fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - const Dutch = { - weekdays: { - shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"], - longhand: [ - "zondag", - "maandag", - "dinsdag", - "woensdag", - "donderdag", - "vrijdag", - "zaterdag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mrt", - "apr", - "mei", - "jun", - "jul", - "aug", - "sept", - "okt", - "nov", - "dec", - ], - longhand: [ - "januari", - "februari", - "maart", - "april", - "mei", - "juni", - "juli", - "augustus", - "september", - "oktober", - "november", - "december", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "wk", - rangeSeparator: " tot ", - scrollTitle: "Scroll voor volgende / vorige", - toggleTitle: "Klik om te wisselen", - ordinal: nth => { - if (nth === 1 || nth === 8 || nth >= 20) - return "ste"; - return "de"; - }, + var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { + l10ns: {} + }; + var Dutch = { + weekdays: { + shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"], + longhand: ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"] + }, + months: { + shorthand: ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sept", "okt", "nov", "dec"], + longhand: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"] + }, + firstDayOfWeek: 1, + weekAbbreviation: "wk", + rangeSeparator: " tot ", + scrollTitle: "Scroll voor volgende / vorige", + toggleTitle: "Klik om te wisselen", + ordinal: function ordinal(nth) { + if (nth === 1 || nth === 8 || nth >= 20) return "ste"; + return "de"; + } }; fp.l10ns.nl = Dutch; var nl = fp.l10ns; exports.Dutch = Dutch;