1 //! moment.js locale configuration
2 //! locale : japanese (ja)
3 //! author : LI Long : https://github.com/baryon
5 import moment from '../moment';
7 export default moment.defineLocale('ja', {
8 months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
9 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
10 weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
11 weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
12 weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
18 LLL : 'YYYY年M月D日Ah時m分',
19 LLLL : 'YYYY年M月D日Ah時m分 dddd'
21 meridiemParse: /午前|午後/i,
22 isPM : function (input) {
23 return input === '午後';
25 meridiem : function (hour, minute, isLower) {
35 nextWeek : '[来週]dddd LT',
37 lastWeek : '[前週]dddd LT',
40 ordinalParse : /\d{1,2}日/,
41 ordinal : function (number, period) {