Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es-us.js 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. //! moment.js locale configuration
  2. //! locale : Spanish (United States) [es-us]
  3. //! author : bustta : https://github.com/bustta
  4. //! author : chrisrodz : https://github.com/chrisrodz
  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. //! moment.js locale configuration
  12. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  13. '_'
  14. ),
  15. monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  16. monthsParse = [
  17. /^ene/i,
  18. /^feb/i,
  19. /^mar/i,
  20. /^abr/i,
  21. /^may/i,
  22. /^jun/i,
  23. /^jul/i,
  24. /^ago/i,
  25. /^sep/i,
  26. /^oct/i,
  27. /^nov/i,
  28. /^dic/i,
  29. ],
  30. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  31. var esUs = moment.defineLocale('es-us', {
  32. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  33. '_'
  34. ),
  35. monthsShort: function (m, format) {
  36. if (!m) {
  37. return monthsShortDot;
  38. } else if (/-MMM-/.test(format)) {
  39. return monthsShort[m.month()];
  40. } else {
  41. return monthsShortDot[m.month()];
  42. }
  43. },
  44. monthsRegex: monthsRegex,
  45. monthsShortRegex: monthsRegex,
  46. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  47. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  48. monthsParse: monthsParse,
  49. longMonthsParse: monthsParse,
  50. shortMonthsParse: monthsParse,
  51. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  52. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  53. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  54. weekdaysParseExact: true,
  55. longDateFormat: {
  56. LT: 'h:mm A',
  57. LTS: 'h:mm:ss A',
  58. L: 'MM/DD/YYYY',
  59. LL: 'D [de] MMMM [de] YYYY',
  60. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  61. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  62. },
  63. calendar: {
  64. sameDay: function () {
  65. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  66. },
  67. nextDay: function () {
  68. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  69. },
  70. nextWeek: function () {
  71. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  72. },
  73. lastDay: function () {
  74. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  75. },
  76. lastWeek: function () {
  77. return (
  78. '[el] dddd [pasado a la' +
  79. (this.hours() !== 1 ? 's' : '') +
  80. '] LT'
  81. );
  82. },
  83. sameElse: 'L',
  84. },
  85. relativeTime: {
  86. future: 'en %s',
  87. past: 'hace %s',
  88. s: 'unos segundos',
  89. ss: '%d segundos',
  90. m: 'un minuto',
  91. mm: '%d minutos',
  92. h: 'una hora',
  93. hh: '%d horas',
  94. d: 'un día',
  95. dd: '%d días',
  96. w: 'una semana',
  97. ww: '%d semanas',
  98. M: 'un mes',
  99. MM: '%d meses',
  100. y: 'un año',
  101. yy: '%d años',
  102. },
  103. dayOfMonthOrdinalParse: /\d{1,2}º/,
  104. ordinal: '%dº',
  105. week: {
  106. dow: 0, // Sunday is the first day of the week.
  107. doy: 6, // The week that contains Jan 6th is the first week of the year.
  108. },
  109. });
  110. return esUs;
  111. })));