eu.js 2.2 KB

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