1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | ;(function (global, factory) {
|
9 | typeof exports === 'object' && typeof module !== 'undefined'
|
10 | && typeof require === 'function' ? factory(require('../moment')) :
|
11 | typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12 | factory(global.moment)
|
13 | }(this, (function (moment) { 'use strict';
|
14 |
|
15 |
|
16 |
|
17 | var eo = moment.defineLocale('eo', {
|
18 | months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
|
19 | '_'
|
20 | ),
|
21 | monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
|
22 | weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
|
23 | weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
|
24 | weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
|
25 | longDateFormat: {
|
26 | LT: 'HH:mm',
|
27 | LTS: 'HH:mm:ss',
|
28 | L: 'YYYY-MM-DD',
|
29 | LL: '[la] D[-an de] MMMM, YYYY',
|
30 | LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
|
31 | LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
|
32 | llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
|
33 | },
|
34 | meridiemParse: /[ap]\.t\.m/i,
|
35 | isPM: function (input) {
|
36 | return input.charAt(0).toLowerCase() === 'p';
|
37 | },
|
38 | meridiem: function (hours, minutes, isLower) {
|
39 | if (hours > 11) {
|
40 | return isLower ? 'p.t.m.' : 'P.T.M.';
|
41 | } else {
|
42 | return isLower ? 'a.t.m.' : 'A.T.M.';
|
43 | }
|
44 | },
|
45 | calendar: {
|
46 | sameDay: '[Hodiaŭ je] LT',
|
47 | nextDay: '[Morgaŭ je] LT',
|
48 | nextWeek: 'dddd[n je] LT',
|
49 | lastDay: '[Hieraŭ je] LT',
|
50 | lastWeek: '[pasintan] dddd[n je] LT',
|
51 | sameElse: 'L',
|
52 | },
|
53 | relativeTime: {
|
54 | future: 'post %s',
|
55 | past: 'antaŭ %s',
|
56 | s: 'kelkaj sekundoj',
|
57 | ss: '%d sekundoj',
|
58 | m: 'unu minuto',
|
59 | mm: '%d minutoj',
|
60 | h: 'unu horo',
|
61 | hh: '%d horoj',
|
62 | d: 'unu tago',
|
63 | dd: '%d tagoj',
|
64 | M: 'unu monato',
|
65 | MM: '%d monatoj',
|
66 | y: 'unu jaro',
|
67 | yy: '%d jaroj',
|
68 | },
|
69 | dayOfMonthOrdinalParse: /\d{1,2}a/,
|
70 | ordinal: '%da',
|
71 | week: {
|
72 | dow: 1,
|
73 | doy: 7,
|
74 | },
|
75 | });
|
76 |
|
77 | return eo;
|
78 |
|
79 | })));
|