Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / es.js
blob6a5fe48055485577d758c871d2be20fff29b1130
1 //! moment.js locale configuration
2 //! locale : spanish (es)
3 //! author : Julio Napurí : https://github.com/julionc
5 import moment from '../moment';
7 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
8     monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
10 export default moment.defineLocale('es', {
11     months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
12     monthsShort : function (m, format) {
13         if (/-MMM-/.test(format)) {
14             return monthsShort[m.month()];
15         } else {
16             return monthsShortDot[m.month()];
17         }
18     },
19     monthsParseExact : true,
20     weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
21     weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
22     weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
23     weekdaysParseExact : true,
24     longDateFormat : {
25         LT : 'H:mm',
26         LTS : 'H:mm:ss',
27         L : 'DD/MM/YYYY',
28         LL : 'D [de] MMMM [de] YYYY',
29         LLL : 'D [de] MMMM [de] YYYY H:mm',
30         LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
31     },
32     calendar : {
33         sameDay : function () {
34             return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
35         },
36         nextDay : function () {
37             return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
38         },
39         nextWeek : function () {
40             return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
41         },
42         lastDay : function () {
43             return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
44         },
45         lastWeek : function () {
46             return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
47         },
48         sameElse : 'L'
49     },
50     relativeTime : {
51         future : 'en %s',
52         past : 'hace %s',
53         s : 'unos segundos',
54         m : 'un minuto',
55         mm : '%d minutos',
56         h : 'una hora',
57         hh : '%d horas',
58         d : 'un día',
59         dd : '%d días',
60         M : 'un mes',
61         MM : '%d meses',
62         y : 'un año',
63         yy : '%d años'
64     },
65     ordinalParse : /\d{1,2}º/,
66     ordinal : '%dº',
67     week : {
68         dow : 1, // Monday is the first day of the week.
69         doy : 4  // The week that contains Jan 4th is the first week of the year.
70     }
71 });