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