1//! moment.js locale configuration 2//! locale : Spanish [es] 3//! author : Julio Napurà : https://github.com/julionc 4 5;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10}(this, (function (moment) { 'use strict'; 11 12 //! moment.js locale configuration 13 14 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( 15 '_' 16 ), 17 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), 18 monthsParse = [ 19 /^ene/i, 20 /^feb/i, 21 /^mar/i, 22 /^abr/i, 23 /^may/i, 24 /^jun/i, 25 /^jul/i, 26 /^ago/i, 27 /^sep/i, 28 /^oct/i, 29 /^nov/i, 30 /^dic/i, 31 ], 32 monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; 33 34 var es = moment.defineLocale('es', { 35 months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( 36 '_' 37 ), 38 monthsShort: function (m, format) { 39 if (!m) { 40 return monthsShortDot; 41 } else if (/-MMM-/.test(format)) { 42 return monthsShort[m.month()]; 43 } else { 44 return monthsShortDot[m.month()]; 45 } 46 }, 47 monthsRegex: monthsRegex, 48 monthsShortRegex: monthsRegex, 49 monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, 50 monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, 51 monthsParse: monthsParse, 52 longMonthsParse: monthsParse, 53 shortMonthsParse: monthsParse, 54 weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 55 weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 56 weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), 57 weekdaysParseExact: true, 58 longDateFormat: { 59 LT: 'H:mm', 60 LTS: 'H:mm:ss', 61 L: 'DD/MM/YYYY', 62 LL: 'D [de] MMMM [de] YYYY', 63 LLL: 'D [de] MMMM [de] YYYY H:mm', 64 LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', 65 }, 66 calendar: { 67 sameDay: function () { 68 return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 69 }, 70 nextDay: function () { 71 return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 72 }, 73 nextWeek: function () { 74 return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 75 }, 76 lastDay: function () { 77 return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 78 }, 79 lastWeek: function () { 80 return ( 81 '[el] dddd [pasado a la' + 82 (this.hours() !== 1 ? 's' : '') + 83 '] LT' 84 ); 85 }, 86 sameElse: 'L', 87 }, 88 relativeTime: { 89 future: 'en %s', 90 past: 'hace %s', 91 s: 'unos segundos', 92 ss: '%d segundos', 93 m: 'un minuto', 94 mm: '%d minutos', 95 h: 'una hora', 96 hh: '%d horas', 97 d: 'un dÃa', 98 dd: '%d dÃas', 99 w: 'una semana', 100 ww: '%d semanas', 101 M: 'un mes', 102 MM: '%d meses', 103 y: 'un año', 104 yy: '%d años', 105 }, 106 dayOfMonthOrdinalParse: /\d{1,2}º/, 107 ordinal: '%dº', 108 week: { 109 dow: 1, // Monday is the first day of the week. 110 doy: 4, // The week that contains Jan 4th is the first week of the year. 111 }, 112 invalidDate: 'Fecha inválida', 113 }); 114 115 return es; 116 117})));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.