vendor/assets/javascripts/flatpickr/l10n/fa.js in flatpickr-2.6.3.0 vs vendor/assets/javascripts/flatpickr/l10n/fa.js in flatpickr-3.0.0.0

- old
+ new

@@ -1,18 +1,18 @@ /* Farsi (Persian) locals for flatpickr */ -var Flatpickr = Flatpickr || { l10ns: {} }; -Flatpickr.l10ns.fa = {}; +var flatpickr = flatpickr || { l10ns: {} }; +flatpickr.l10ns.fa = {}; -Flatpickr.l10ns.fa.weekdays = { +flatpickr.l10ns.fa.weekdays = { shorthand: ["یک", "دو", "سه", "چهار", "پنج", "آدینه", "شنبه"], longhand: ["یک‌شنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنچ‌شنبه", "آدینه", "شنبه"] }; -Flatpickr.l10ns.fa.months = { +flatpickr.l10ns.fa.months = { shorthand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"], longhand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"] }; -Flatpickr.l10ns.fa.ordinal = function () { +flatpickr.l10ns.fa.ordinal = function () { return ""; }; -if (typeof module !== "undefined") module.exports = Flatpickr.l10ns; +if (typeof module !== "undefined") module.exports = flatpickr.l10ns; \ No newline at end of file