eu.js 1.9 KB

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