eu.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //! moment.js locale configuration
  2. //! locale : Basque [eu]
  3. //! author : Eneko Illarramendi : https://github.com/eillarra
  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. //! moment.js locale configuration
  11. var eu = moment.defineLocale('eu', {
  12. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
  13. '_'
  14. ),
  15. monthsShort:
  16. 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
  17. '_'
  18. ),
  19. monthsParseExact: true,
  20. weekdays:
  21. 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
  22. '_'
  23. ),
  24. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  25. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  26. weekdaysParseExact: true,
  27. longDateFormat: {
  28. LT: 'HH:mm',
  29. LTS: 'HH:mm:ss',
  30. L: 'YYYY-MM-DD',
  31. LL: 'YYYY[ko] MMMM[ren] D[a]',
  32. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  33. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  34. l: 'YYYY-M-D',
  35. ll: 'YYYY[ko] MMM D[a]',
  36. lll: 'YYYY[ko] MMM D[a] HH:mm',
  37. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
  38. },
  39. calendar: {
  40. sameDay: '[gaur] LT[etan]',
  41. nextDay: '[bihar] LT[etan]',
  42. nextWeek: 'dddd LT[etan]',
  43. lastDay: '[atzo] LT[etan]',
  44. lastWeek: '[aurreko] dddd LT[etan]',
  45. sameElse: 'L',
  46. },
  47. relativeTime: {
  48. future: '%s barru',
  49. past: 'duela %s',
  50. s: 'segundo batzuk',
  51. ss: '%d segundo',
  52. m: 'minutu bat',
  53. mm: '%d minutu',
  54. h: 'ordu bat',
  55. hh: '%d ordu',
  56. d: 'egun bat',
  57. dd: '%d egun',
  58. M: 'hilabete bat',
  59. MM: '%d hilabete',
  60. y: 'urte bat',
  61. yy: '%d urte',
  62. },
  63. dayOfMonthOrdinalParse: /\d{1,2}\./,
  64. ordinal: '%d.',
  65. week: {
  66. dow: 1, // Monday is the first day of the week.
  67. doy: 7, // The week that contains Jan 7th is the first week of the year.
  68. },
  69. });
  70. return eu;
  71. })));