Edit D:\xinhaisoft\crisis_new\api\node_modules\moment\src\locale\lv.js
//! moment.js locale configuration //! locale : Latvian [lv] //! author : Kristaps Karlsons : https://github.com/skakri //! author : J?nis Elmeris : https://github.com/JanisE import moment from '../moment'; var units = { ss: 'sekundes_sekund?m_sekunde_sekundes'.split('_'), m: 'min?tes_min?t?m_min?te_min?tes'.split('_'), mm: 'min?tes_min?t?m_min?te_min?tes'.split('_'), h: 'stundas_stund?m_stunda_stundas'.split('_'), hh: 'stundas_stund?m_stunda_stundas'.split('_'), d: 'dienas_dien?m_diena_dienas'.split('_'), dd: 'dienas_dien?m_diena_dienas'.split('_'), M: 'm?ne?a_m?ne?iem_m?nesis_m?ne?i'.split('_'), MM: 'm?ne?a_m?ne?iem_m?nesis_m?ne?i'.split('_'), y: 'gada_gadiem_gads_gadi'.split('_'), yy: 'gada_gadiem_gads_gadi'.split('_'), }; /** * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. */ function format(forms, number, withoutSuffix) { if (withoutSuffix) { // E.g. "21 min?te", "3 min?tes". return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; } else { // E.g. "21 min?tes" as in "p?c 21 min?tes". // E.g. "3 min?t?m" as in "p?c 3 min?t?m". return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; } } function relativeTimeWithPlural(number, withoutSuffix, key) { return number + ' ' + format(units[key], number, withoutSuffix); } function relativeTimeWithSingular(number, withoutSuffix, key) { return format(units[key], number, withoutSuffix); } function relativeSeconds(number, withoutSuffix) { return withoutSuffix ? 'da?as sekundes' : 'da??m sekund?m'; } export default moment.defineLocale('lv', { months: 'janv?ris_febru?ris_marts_apr?lis_maijs_j?nijs_j?lijs_augusts_septembris_oktobris_novembris_decembris'.split( '_' ), monthsShort: 'jan_feb_mar_apr_mai_j?n_j?l_aug_sep_okt_nov_dec'.split('_'), weekdays: 'sv?tdiena_pirmdiena_otrdiena_tre?diena_ceturtdiena_piektdiena_sestdiena'.split( '_' ), weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysParseExact: true, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY.', LL: 'YYYY. [gada] D. MMMM', LLL: 'YYYY. [gada] D. MMMM, HH:mm', LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', }, calendar: { sameDay: '[?odien pulksten] LT', nextDay: '[R?t pulksten] LT', nextWeek: 'dddd [pulksten] LT', lastDay: '[Vakar pulksten] LT', lastWeek: '[Pag?ju??] dddd [pulksten] LT', sameElse: 'L', }, relativeTime: { future: 'p?c %s', past: 'pirms %s', s: relativeSeconds, ss: relativeTimeWithPlural, m: relativeTimeWithSingular, mm: relativeTimeWithPlural, h: relativeTimeWithSingular, hh: relativeTimeWithPlural, d: relativeTimeWithSingular, dd: relativeTimeWithPlural, M: relativeTimeWithSingular, MM: relativeTimeWithPlural, y: relativeTimeWithSingular, yy: relativeTimeWithPlural, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, // Monday is the first day of the week. doy: 4, // The week that contains Jan 4th is the first week of the year. }, });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de