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

- old
+ new

@@ -3,67 +3,31 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.cs = {}))); }(this, (function (exports) { 'use strict'; - const fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - const Czech = { - weekdays: { - shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"], - longhand: [ - "Neděle", - "Pondělí", - "Úterý", - "Středa", - "Čtvrtek", - "Pátek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Led", - "Ún", - "Bře", - "Dub", - "Kvě", - "Čer", - "Čvc", - "Srp", - "Zář", - "Říj", - "Lis", - "Pro", - ], - longhand: [ - "Leden", - "Únor", - "Březen", - "Duben", - "Květen", - "Červen", - "Červenec", - "Srpen", - "Září", - "Říjen", - "Listopad", - "Prosinec", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " do ", - weekAbbreviation: "Týd.", - scrollTitle: "Rolujte pro změnu", - toggleTitle: "Přepnout dopoledne/odpoledne", - amPM: ["dop.", "odp."], - yearAriaLabel: "Rok", + var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { + l10ns: {} + }; + var Czech = { + weekdays: { + shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"], + longhand: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"] + }, + months: { + shorthand: ["Led", "Ún", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro"], + longhand: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"] + }, + firstDayOfWeek: 1, + ordinal: function ordinal() { + return "."; + }, + rangeSeparator: " do ", + weekAbbreviation: "Týd.", + scrollTitle: "Rolujte pro změnu", + toggleTitle: "Přepnout dopoledne/odpoledne", + amPM: ["dop.", "odp."], + yearAriaLabel: "Rok" }; fp.l10ns.cs = Czech; var cs = fp.l10ns; exports.Czech = Czech;