c7d2f9737c2117b64413e1e34c0fdc821ac35b30
1 //! moment.js locale configuration
2 //! locale : Spanish (United States) [es-us]
3 //! author : bustta : https://github.com/bustta
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
) :
10 }(this, (function (moment
) { 'use strict';
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('_');
16 var esUs
= moment
.defineLocale('es-us', {
17 months
: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
18 monthsShort : function (m
, format
) {
20 return monthsShortDot
;
21 } else if (/-MMM-/.test(format
)) {
22 return monthsShort
[m
.month()];
24 return monthsShortDot
[m
.month()];
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,
36 LL
: 'MMMM [de] D [de] YYYY',
37 LLL
: 'MMMM [de] D [de] YYYY H:mm',
38 LLLL
: 'dddd, MMMM [de] D [de] YYYY H:mm'
41 sameDay : function () {
42 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
44 nextDay : function () {
45 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
47 nextWeek : function () {
48 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
50 lastDay : function () {
51 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
53 lastWeek : function () {
54 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
73 dayOfMonthOrdinalParse
: /\d{1,2}º/,
76 dow
: 0, // Sunday is the first day of the week.
77 doy
: 6 // The week that contains Jan 1st is the first week of the year.