corrade-nucleus-nucleons – Blame information for rev 10

Subversion Repositories:
Rev:
Rev Author Line No. Line
10 office 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  
13 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_');
14 var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
15  
16 var es = moment.defineLocale('es', {
17 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
18 monthsShort : function (m, format) {
19 if (!m) {
20 return monthsShortDot;
21 } else if (/-MMM-/.test(format)) {
22 return monthsShort[m.month()];
23 } else {
24 return monthsShortDot[m.month()];
25 }
26 },
27 monthsParseExact : true,
28 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
29 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
30 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
31 weekdaysParseExact : true,
32 longDateFormat : {
33 LT : 'H:mm',
34 LTS : 'H:mm:ss',
35 L : 'DD/MM/YYYY',
36 LL : 'D [de] MMMM [de] YYYY',
37 LLL : 'D [de] MMMM [de] YYYY H:mm',
38 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
39 },
40 calendar : {
41 sameDay : function () {
42 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
43 },
44 nextDay : function () {
45 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
46 },
47 nextWeek : function () {
48 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
49 },
50 lastDay : function () {
51 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
52 },
53 lastWeek : function () {
54 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
55 },
56 sameElse : 'L'
57 },
58 relativeTime : {
59 future : 'en %s',
60 past : 'hace %s',
61 s : 'unos segundos',
62 m : 'un minuto',
63 mm : '%d minutos',
64 h : 'una hora',
65 hh : '%d horas',
66 d : 'un día',
67 dd : '%d días',
68 M : 'un mes',
69 MM : '%d meses',
70 y : 'un año',
71 yy : '%d años'
72 },
73 dayOfMonthOrdinalParse : /\d{1,2}º/,
74 ordinal : '%dº',
75 week : {
76 dow : 1, // Monday is the first day of the week.
77 doy : 4 // The week that contains Jan 4th is the first week of the year.
78 }
79 });
80  
81 return es;
82  
83 })));