1 // moment.js language configuration
2 // language : spanish (es)
3 // author : Julio Napurí : https://github.com/julionc
6 if (typeof define
=== 'function' && define
.amd
) {
7 define(['moment'], factory
); // AMD
8 } else if (typeof exports
=== 'object') {
9 module
.exports
= factory(require('../moment')); // Node
11 factory(window
.moment
); // Browser global
14 return moment
.lang('es', {
15 months
: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
16 monthsShort
: "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
17 weekdays
: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
18 weekdaysShort
: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
19 weekdaysMin
: "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
23 LL
: "D [de] MMMM [de] YYYY",
24 LLL
: "D [de] MMMM [de] YYYY LT",
25 LLLL
: "dddd, D [de] MMMM [de] YYYY LT"
28 sameDay : function () {
29 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
31 nextDay : function () {
32 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
34 nextWeek : function () {
35 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
37 lastDay : function () {
38 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
40 lastWeek : function () {
41 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
62 dow
: 1, // Monday is the first day of the week.
63 doy
: 4 // The week that contains Jan 4th is the first week of the year.