2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2014-08-20 14:41:50 -04:00
|
|
|
|
2016-02-05 15:42:48 -05:00
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-05 15:42:48 -05:00
|
|
|
|
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var eo = moment.defineLocale('eo', {
|
|
|
|
months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
|
|
|
|
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
|
|
|
|
weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
|
|
|
|
weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
|
|
|
|
weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
|
|
|
|
longDateFormat : {
|
|
|
|
LT : 'HH:mm',
|
|
|
|
LTS : 'HH:mm:ss',
|
|
|
|
L : 'YYYY-MM-DD',
|
|
|
|
LL : 'D[-a de] MMMM, YYYY',
|
|
|
|
LLL : 'D[-a de] MMMM, YYYY HH:mm',
|
|
|
|
LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'
|
|
|
|
},
|
|
|
|
meridiemParse: /[ap]\.t\.m/i,
|
|
|
|
isPM: function (input) {
|
|
|
|
return input.charAt(0).toLowerCase() === 'p';
|
|
|
|
},
|
|
|
|
meridiem : function (hours, minutes, isLower) {
|
|
|
|
if (hours > 11) {
|
|
|
|
return isLower ? 'p.t.m.' : 'P.T.M.';
|
|
|
|
} else {
|
|
|
|
return isLower ? 'a.t.m.' : 'A.T.M.';
|
|
|
|
}
|
|
|
|
},
|
|
|
|
calendar : {
|
|
|
|
sameDay : '[Hodiaŭ je] LT',
|
|
|
|
nextDay : '[Morgaŭ je] LT',
|
|
|
|
nextWeek : 'dddd [je] LT',
|
|
|
|
lastDay : '[Hieraŭ je] LT',
|
|
|
|
lastWeek : '[pasinta] dddd [je] LT',
|
|
|
|
sameElse : 'L'
|
|
|
|
},
|
|
|
|
relativeTime : {
|
|
|
|
future : 'post %s',
|
|
|
|
past : 'antaŭ %s',
|
|
|
|
s : 'sekundoj',
|
|
|
|
ss : '%d sekundoj',
|
|
|
|
m : 'minuto',
|
|
|
|
mm : '%d minutoj',
|
|
|
|
h : 'horo',
|
|
|
|
hh : '%d horoj',
|
|
|
|
d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
|
|
|
|
dd : '%d tagoj',
|
|
|
|
M : 'monato',
|
|
|
|
MM : '%d monatoj',
|
|
|
|
y : 'jaro',
|
|
|
|
yy : '%d jaroj'
|
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}a/,
|
|
|
|
ordinal : '%da',
|
|
|
|
week : {
|
|
|
|
dow : 1, // Monday is the first day of the week.
|
|
|
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
2014-08-20 14:41:50 -04:00
|
|
|
}
|
2018-04-26 03:15:53 -04:00
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
return eo;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|