You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

64 lines
2.1 KiB

//! moment.js locale configuration
//! locale : japanese (ja)
//! author : LI Long : https://github.com/baryon
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use strict';
var ja = moment.defineLocale('ja', {
months : '1_2_3_4_5_6_7_8_9_10_11_12'.split('_'),
monthsShort : '1_2_3_4_5_6_7_8_9_10_11_12'.split('_'),
weekdays : '______'.split('_'),
weekdaysShort : '______'.split('_'),
weekdaysMin : '______'.split('_'),
longDateFormat : {
LT : 'Ah時m分',
LTS : 'Ah時m分s秒',
L : 'YYYY/MM/DD',
LL : 'YYYY年M月D日',
LLL : 'YYYY年M月D日Ah時m分',
LLLL : 'YYYY年M月D日Ah時m分 dddd'
},
meridiemParse: /|/i,
isPM : function (input) {
return input === '';
},
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return '';
} else {
return '';
}
},
calendar : {
sameDay : '[] LT',
nextDay : '[] LT',
nextWeek : '[]dddd LT',
lastDay : '[] LT',
lastWeek : '[]dddd LT',
sameElse : 'L'
},
relativeTime : {
future : '%s後',
past : '%s前',
s : '',
m : '1',
mm : '%d分',
h : '1',
hh : '%d時間',
d : '1',
dd : '%d日',
M : '1',
MM : '%dヶ月',
y : '1',
yy : '%d年'
}
});
return ja;
}));