1//! moment.js locale configuration 2//! locale : Chinese (China) [zh-cn] 3//! author : suupic : https://github.com/suupic 4//! author : Zeno Zeng : https://github.com/zenozeng 5 6;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11}(this, (function (moment) { 'use strict'; 12 13 14var zhCn = moment.defineLocale('zh-cn', { 15 months : '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split('_'), 16 monthsShort : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 17 weekdays : 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 18 weekdaysShort : '卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å '.split('_'), 19 weekdaysMin : 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 20 longDateFormat : { 21 LT : 'HH:mm', 22 LTS : 'HH:mm:ss', 23 L : 'YYYY/MM/DD', 24 LL : 'YYYYå¹´MæDæ¥', 25 LLL : 'YYYYå¹´MæDæ¥Ahç¹mmå', 26 LLLL : 'YYYYå¹´MæDæ¥ddddAhç¹mmå', 27 l : 'YYYY/M/D', 28 ll : 'YYYYå¹´MæDæ¥', 29 lll : 'YYYYå¹´MæDæ¥ HH:mm', 30 llll : 'YYYYå¹´MæDæ¥dddd HH:mm' 31 }, 32 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 33 meridiemHour: function (hour, meridiem) { 34 if (hour === 12) { 35 hour = 0; 36 } 37 if (meridiem === '忍' || meridiem === 'æ©ä¸' || 38 meridiem === 'ä¸å') { 39 return hour; 40 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 41 return hour + 12; 42 } else { 43 // 'ä¸å' 44 return hour >= 11 ? hour : hour + 12; 45 } 46 }, 47 meridiem : function (hour, minute, isLower) { 48 var hm = hour * 100 + minute; 49 if (hm < 600) { 50 return '忍'; 51 } else if (hm < 900) { 52 return 'æ©ä¸'; 53 } else if (hm < 1130) { 54 return 'ä¸å'; 55 } else if (hm < 1230) { 56 return 'ä¸å'; 57 } else if (hm < 1800) { 58 return 'ä¸å'; 59 } else { 60 return 'æä¸'; 61 } 62 }, 63 calendar : { 64 sameDay : '[ä»å¤©]LT', 65 nextDay : '[æå¤©]LT', 66 nextWeek : '[ä¸]ddddLT', 67 lastDay : '[æ¨å¤©]LT', 68 lastWeek : '[ä¸]ddddLT', 69 sameElse : 'L' 70 }, 71 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|å¨)/, 72 ordinal : function (number, period) { 73 switch (period) { 74 case 'd': 75 case 'D': 76 case 'DDD': 77 return number + 'æ¥'; 78 case 'M': 79 return number + 'æ'; 80 case 'w': 81 case 'W': 82 return number + 'å¨'; 83 default: 84 return number; 85 } 86 }, 87 relativeTime : { 88 future : '%så ', 89 past : '%så', 90 s : 'å ç§', 91 ss : '%d ç§', 92 m : '1 åé', 93 mm : '%d åé', 94 h : '1 å°æ¶', 95 hh : '%d å°æ¶', 96 d : '1 天', 97 dd : '%d 天', 98 M : '1 个æ', 99 MM : '%d 个æ', 100 y : '1 å¹´', 101 yy : '%d å¹´' 102 }, 103 week : { 104 // GB/T 7408-1994ãæ°æ®å åäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ¥æåæ¶é´è¡¨ç¤ºæ³ãä¸ISO 8601:1988çæ 105 dow : 1, // Monday is the first day of the week. 106 doy : 4 // The week that contains Jan 4th is the first week of the year. 107 } 108}); 109 110return zhCn; 111 112})));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.