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