Edit D:\xinhaisoft\crisis_new\api\node_modules\dayjs\esm\locale\sr-cyrl.js
// Serbian Cyrillic [sr-cyrl] import dayjs from '../index'; var translator = { words: { m: ['????? ?????', '?????? ??????'], mm: ['%d ?????', '%d ??????', '%d ??????'], h: ['????? ???', '?????? ????'], hh: ['%d ???', '%d ????', '%d ????'], d: ['????? ???', '?????? ????'], dd: ['%d ???', '%d ????', '%d ????'], M: ['????? ?????', '?????? ??????'], MM: ['%d ?????', '%d ??????', '%d ??????'], y: ['????? ??????', '????? ??????'], yy: ['%d ??????', '%d ??????', '%d ??????'] }, correctGrammarCase: function correctGrammarCase(number, wordKey) { if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) { return number % 10 === 1 ? wordKey[0] : wordKey[1]; } return wordKey[2]; }, relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { var wordKey = translator.words[key]; if (key.length === 1) { // Nominativ if (key === 'y' && withoutSuffix) return '????? ??????'; return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; } var word = translator.correctGrammarCase(number, wordKey); // Nominativ if (key === 'yy' && withoutSuffix && word === '%d ??????') return number + " \u0433\u043E\u0434\u0438\u043D\u0430"; return word.replace('%d', number); } }; var locale = { name: 'sr-cyrl', weekdays: '??????_?????????_??????_?????_????????_?????_??????'.split('_'), weekdaysShort: '???._???._???._???._???._???._???.'.split('_'), weekdaysMin: '??_??_??_??_??_??_??'.split('_'), months: '??????_???????_????_?????_???_???_???_??????_?????????_???????_????????_????????'.split('_'), monthsShort: '???._???._???._???._???_???_???_???._???._???._???._???.'.split('_'), weekStart: 1, relativeTime: { future: '?? %s', past: '??? %s', s: '???????? ???????', m: translator.relativeTimeFormatter, mm: translator.relativeTimeFormatter, h: translator.relativeTimeFormatter, hh: translator.relativeTimeFormatter, d: translator.relativeTimeFormatter, dd: translator.relativeTimeFormatter, M: translator.relativeTimeFormatter, MM: translator.relativeTimeFormatter, y: translator.relativeTimeFormatter, yy: translator.relativeTimeFormatter }, ordinal: function ordinal(n) { return n + "."; }, formats: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'D. M. YYYY.', LL: 'D. MMMM YYYY.', LLL: 'D. MMMM YYYY. H:mm', LLLL: 'dddd, D. MMMM YYYY. H:mm' } }; dayjs.locale(locale, null, true); export default locale;
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de