UNPKG

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