2019-06-10 17:38:54 +02:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 23:12:30 +02:00
|
|
|
//! locale : Esperanto [eo]
|
|
|
|
//! author : Colin Dean : https://github.com/colindean
|
|
|
|
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
|
|
|
|
//! comment : miestasmia corrected the translation by colindean
|
|
|
|
//! comment : Vivakvo corrected the translation by colindean and miestasmia
|
2019-06-10 17:38:54 +02:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
|
|
factory(global.moment)
|
|
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
|
2020-07-23 23:12:30 +02:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 17:38:54 +02:00
|
|
|
|
|
|
|
var eo = moment.defineLocale('eo', {
|
2020-07-23 23:12:30 +02:00
|
|
|
months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_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: '[la] D[-an de] MMMM, YYYY',
|
|
|
|
LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
|
|
|
|
LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
|
|
|
|
llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
|
|
|
meridiemParse: /[ap]\.t\.m/i,
|
|
|
|
isPM: function (input) {
|
|
|
|
return input.charAt(0).toLowerCase() === 'p';
|
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
meridiem: function (hours, minutes, isLower) {
|
2019-06-10 17:38:54 +02:00
|
|
|
if (hours > 11) {
|
|
|
|
return isLower ? 'p.t.m.' : 'P.T.M.';
|
|
|
|
} else {
|
|
|
|
return isLower ? 'a.t.m.' : 'A.T.M.';
|
|
|
|
}
|
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
calendar: {
|
|
|
|
sameDay: '[Hodiaŭ je] LT',
|
|
|
|
nextDay: '[Morgaŭ je] LT',
|
|
|
|
nextWeek: 'dddd[n je] LT',
|
|
|
|
lastDay: '[Hieraŭ je] LT',
|
|
|
|
lastWeek: '[pasintan] dddd[n je] LT',
|
|
|
|
sameElse: 'L',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
relativeTime: {
|
|
|
|
future: 'post %s',
|
|
|
|
past: 'antaŭ %s',
|
|
|
|
s: 'kelkaj sekundoj',
|
|
|
|
ss: '%d sekundoj',
|
|
|
|
m: 'unu minuto',
|
|
|
|
mm: '%d minutoj',
|
|
|
|
h: 'unu horo',
|
|
|
|
hh: '%d horoj',
|
|
|
|
d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
|
|
|
|
dd: '%d tagoj',
|
|
|
|
M: 'unu monato',
|
|
|
|
MM: '%d monatoj',
|
|
|
|
y: 'unu jaro',
|
|
|
|
yy: '%d jaroj',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}a/,
|
2020-07-23 23:12:30 +02:00
|
|
|
ordinal: '%da',
|
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
|
|
},
|
2019-06-10 17:38:54 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
return eo;
|
|
|
|
|
|
|
|
})));
|