Edit D:\xinhaisoft\crisis_new\api\node_modules\dayjs\esm\locale\ru.js
// Russian [ru] import dayjs from '../index'; var monthFormat = '??????_???????_?????_??????_???_????_????_???????_????????_???????_??????_???????'.split('_'); var monthStandalone = '??????_???????_????_??????_???_????_????_??????_????????_???????_??????_???????'.split('_'); var monthShortFormat = '???._????._???._???._???_????_????_???._????._???._????._???.'.split('_'); var monthShortStandalone = '???._????._????_???._???_????_????_???._????._???._????._???.'.split('_'); var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; function plural(word, num) { var forms = word.split('_'); return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { mm: withoutSuffix ? '??????_??????_?????' : '??????_??????_?????', hh: '???_????_?????', dd: '????_???_????', MM: '?????_??????_???????', yy: '???_????_???' }; if (key === 'm') { return withoutSuffix ? '??????' : '??????'; } return number + " " + plural(format[key], +number); } var months = function months(dayjsInstance, format) { if (MONTHS_IN_FORMAT.test(format)) { return monthFormat[dayjsInstance.month()]; } return monthStandalone[dayjsInstance.month()]; }; months.s = monthStandalone; months.f = monthFormat; var monthsShort = function monthsShort(dayjsInstance, format) { if (MONTHS_IN_FORMAT.test(format)) { return monthShortFormat[dayjsInstance.month()]; } return monthShortStandalone[dayjsInstance.month()]; }; monthsShort.s = monthShortStandalone; monthsShort.f = monthShortFormat; var locale = { name: 'ru', weekdays: '???????????_???????????_???????_?????_???????_???????_???????'.split('_'), weekdaysShort: '???_???_???_???_???_???_???'.split('_'), weekdaysMin: '??_??_??_??_??_??_??'.split('_'), months: months, monthsShort: monthsShort, weekStart: 1, yearStart: 4, formats: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY ?.', LLL: 'D MMMM YYYY ?., H:mm', LLLL: 'dddd, D MMMM YYYY ?., H:mm' }, relativeTime: { future: '????? %s', past: '%s ?????', s: '????????? ??????', m: relativeTimeWithPlural, mm: relativeTimeWithPlural, h: '???', hh: relativeTimeWithPlural, d: '????', dd: relativeTimeWithPlural, M: '?????', MM: relativeTimeWithPlural, y: '???', yy: relativeTimeWithPlural }, ordinal: function ordinal(n) { return n; }, meridiem: function meridiem(hour) { if (hour < 4) { return '????'; } else if (hour < 12) { return '????'; } else if (hour < 17) { return '???'; } return '??????'; } }; dayjs.locale(locale, null, true); export default locale;
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de