1// moment.js locale configuration 2// locale : japanese (ja) 3// author : LI Long : https://github.com/baryon 4 5(function (factory) { 6 if (typeof define === 'function' && define.amd) { 7 define(['moment'], factory); // AMD 8 } else if (typeof exports === 'object') { 9 module.exports = factory(require('../moment')); // Node 10 } else { 11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global 12 } 13}(function (moment) { 14 return moment.defineLocale('ja', { 15 months : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.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 : 'Ahæmå', 22 LTS : 'LTsç§', 23 L : 'YYYY/MM/DD', 24 LL : 'YYYYå¹´MæDæ¥', 25 LLL : 'YYYYå¹´MæDæ¥LT', 26 LLLL : 'YYYYå¹´MæDæ¥LT dddd' 27 }, 28 meridiem : function (hour, minute, isLower) { 29 if (hour < 12) { 30 return 'åå'; 31 } else { 32 return 'åå¾'; 33 } 34 }, 35 calendar : { 36 sameDay : '[仿¥] LT', 37 nextDay : '[ææ¥] LT', 38 nextWeek : '[æ¥é±]dddd LT', 39 lastDay : '[æ¨æ¥] LT', 40 lastWeek : '[åé±]dddd LT', 41 sameElse : 'L' 42 }, 43 relativeTime : { 44 future : '%så¾', 45 past : '%så', 46 s : 'æ°ç§', 47 m : '1å', 48 mm : '%då', 49 h : '1æé', 50 hh : '%dæé', 51 d : '1æ¥', 52 dd : '%dæ¥', 53 M : '1ã¶æ', 54 MM : '%dã¶æ', 55 y : '1å¹´', 56 yy : '%då¹´' 57 } 58 }); 59}));
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.