vendor/assets/javascripts/flatpickr/l10n/es.js in flatpickr-4.5.2.0 vs vendor/assets/javascripts/flatpickr/l10n/es.js in flatpickr-4.5.2.1
- old
+ new
@@ -3,62 +3,26 @@
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.es = {})));
}(this, (function (exports) { 'use strict';
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
- ? window.flatpickr
- : {
- l10ns: {},
- };
- const Spanish = {
- weekdays: {
- shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
- longhand: [
- "Domingo",
- "Lunes",
- "Martes",
- "Miércoles",
- "Jueves",
- "Viernes",
- "Sábado",
- ],
- },
- months: {
- shorthand: [
- "Ene",
- "Feb",
- "Mar",
- "Abr",
- "May",
- "Jun",
- "Jul",
- "Ago",
- "Sep",
- "Oct",
- "Nov",
- "Dic",
- ],
- longhand: [
- "Enero",
- "Febrero",
- "Marzo",
- "Abril",
- "Mayo",
- "Junio",
- "Julio",
- "Agosto",
- "Septiembre",
- "Octubre",
- "Noviembre",
- "Diciembre",
- ],
- },
- ordinal: () => {
- return "º";
- },
- firstDayOfWeek: 1,
- rangeSeparator: " a ",
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
+ l10ns: {}
+ };
+ var Spanish = {
+ weekdays: {
+ shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
+ longhand: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"]
+ },
+ months: {
+ shorthand: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
+ longhand: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]
+ },
+ ordinal: function ordinal() {
+ return "º";
+ },
+ firstDayOfWeek: 1,
+ rangeSeparator: " a "
};
fp.l10ns.es = Spanish;
var es = fp.l10ns;
exports.Spanish = Spanish;