//! moment.js locale configuration
//! locale : korean (ko)
//!
//! authors
//!
//! - Kyungwook, Park : https://github.com/kyungw00k
//! - Jeeeyul Lee <jeeeyul@gmail.com>
import moment from '../moment';
export default moment.defineLocale('ko', {
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 : 'A h? m?',
LTS : 'A h? m? s?',
L : 'YYYY.MM.DD',
LL : 'YYYY? MMMM D?',
LLL : 'YYYY? MMMM D? A h? m?',
LLLL : 'YYYY? MMMM D? dddd A h? m?'
},
calendar : {
sameDay : '?? LT',
nextDay : '?? LT',
nextWeek : 'dddd LT',
lastDay : '?? LT',
lastWeek : '??? dddd LT',
sameElse : 'L'
},
relativeTime : {
future : '%s ?',
past : '%s ?',
s : '? ?',
ss : '%d?',
m : '??',
mm : '%d?',
h : '? ??',
hh : '%d??',
d : '??',
dd : '%d?',
M : '? ?',
MM : '%d?',
y : '? ?',
yy : '%d?'
},
ordinalParse : /\d{1,2}?/,
ordinal : '%d?',
meridiemParse : /??|??/,
isPM : function (token) {
return token === '??';
},
meridiem : function (hour, minute, isUpper) {
return hour < 12 ? '??' : '??';
}
});
|