[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/vendor/moment-js/locale/ -> es-do.js (source)

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


Generated: Thu Aug 24 01:01:27 2023 Cross-referenced by PHPXref 0.7.1