Edit D:\xinhaisoft\crisis_new\api\node_modules\moment\src\locale\cs.js
//! moment.js locale configuration //! locale : Czech [cs] //! author : petrbela : https://github.com/petrbela import moment from '../moment'; var months = 'leden_?nor_b?ezen_duben_kv?ten_?erven_?ervenec_srpen_z???_??jen_listopad_prosinec'.split( '_' ), monthsShort = 'led_?no_b?e_dub_kv?_?vn_?vc_srp_z??_??j_lis_pro'.split('_'), monthsParse = [ /^led/i, /^?no/i, /^b?e/i, /^dub/i, /^kv?/i, /^(?vn|?erven$|?ervna)/i, /^(?vc|?ervenec|?ervence)/i, /^srp/i, /^z??/i, /^??j/i, /^lis/i, /^pro/i, ], // NOTE: '?erven' is substring of '?ervenec'; therefore '?ervenec' must precede '?erven' in the regex to be fully matched. // Otherwise parser matches '1. ?ervenec' as '1. ?erven' + 'ec'. monthsRegex = /^(leden|?nor|b?ezen|duben|kv?ten|?ervenec|?ervence|?erven|?ervna|srpen|z???|??jen|listopad|prosinec|led|?no|b?e|dub|kv?|?vn|?vc|srp|z??|??j|lis|pro)/i; function plural(n) { return n > 1 && n < 5 && ~~(n / 10) !== 1; } function translate(number, withoutSuffix, key, isFuture) { var result = number + ' '; switch (key) { case 's': // a few seconds / in a few seconds / a few seconds ago return withoutSuffix || isFuture ? 'p?r sekund' : 'p?r sekundami'; case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'sekundy' : 'sekund'); } else { return result + 'sekundami'; } case 'm': // a minute / in a minute / a minute ago return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'minuty' : 'minut'); } else { return result + 'minutami'; } case 'h': // an hour / in an hour / an hour ago return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; case 'hh': // 9 hours / in 9 hours / 9 hours ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'hodiny' : 'hodin'); } else { return result + 'hodinami'; } case 'd': // a day / in a day / a day ago return withoutSuffix || isFuture ? 'den' : 'dnem'; case 'dd': // 9 days / in 9 days / 9 days ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'dny' : 'dn?'); } else { return result + 'dny'; } case 'M': // a month / in a month / a month ago return withoutSuffix || isFuture ? 'm?s?c' : 'm?s?cem'; case 'MM': // 9 months / in 9 months / 9 months ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'm?s?ce' : 'm?s?c?'); } else { return result + 'm?s?ci'; } case 'y': // a year / in a year / a year ago return withoutSuffix || isFuture ? 'rok' : 'rokem'; case 'yy': // 9 years / in 9 years / 9 years ago if (withoutSuffix || isFuture) { return result + (plural(number) ? 'roky' : 'let'); } else { return result + 'lety'; } } } export default moment.defineLocale('cs', { months: months, monthsShort: monthsShort, monthsRegex: monthsRegex, monthsShortRegex: monthsRegex, // NOTE: '?erven' is substring of '?ervenec'; therefore '?ervenec' must precede '?erven' in the regex to be fully matched. // Otherwise parser matches '1. ?ervenec' as '1. ?erven' + 'ec'. monthsStrictRegex: /^(leden|ledna|?nora|?nor|b?ezen|b?ezna|duben|dubna|kv?ten|kv?tna|?ervenec|?ervence|?erven|?ervna|srpen|srpna|z???|??jen|??jna|listopadu|listopad|prosinec|prosince)/i, monthsShortStrictRegex: /^(led|?no|b?e|dub|kv?|?vn|?vc|srp|z??|??j|lis|pro)/i, monthsParse: monthsParse, longMonthsParse: monthsParse, shortMonthsParse: monthsParse, weekdays: 'ned?le_pond?l?_?ter?_st?eda_?tvrtek_p?tek_sobota'.split('_'), weekdaysShort: 'ne_po_?t_st_?t_p?_so'.split('_'), weekdaysMin: 'ne_po_?t_st_?t_p?_so'.split('_'), longDateFormat: { 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', l: 'D. M. YYYY', }, calendar: { sameDay: '[dnes v] LT', nextDay: '[z?tra v] LT', nextWeek: function () { switch (this.day()) { case 0: return '[v ned?li v] LT'; case 1: case 2: return '[v] dddd [v] LT'; case 3: return '[ve st?edu v] LT'; case 4: return '[ve ?tvrtek v] LT'; case 5: return '[v p?tek v] LT'; case 6: return '[v sobotu v] LT'; } }, lastDay: '[v?era v] LT', lastWeek: function () { switch (this.day()) { case 0: return '[minulou ned?li v] LT'; case 1: case 2: return '[minul?] dddd [v] LT'; case 3: return '[minulou st?edu v] LT'; case 4: case 5: return '[minul?] dddd [v] LT'; case 6: return '[minulou sobotu v] LT'; } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'p?ed %s', s: translate, ss: translate, m: translate, mm: translate, h: translate, hh: translate, d: translate, dd: translate, M: translate, MM: translate, y: translate, yy: translate, }, 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