eu.js 1.9 KB

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