Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

75 wiersze
2.4KB

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