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.
 
 
 
 

67 lines
2.1 KiB

//! moment.js locale configuration
//! locale : korean (ko)
//!
//! authors
//!
//! - Kyungwook, Park : https://github.com/kyungw00k
//! - Jeeeyul Lee <jeeeyul@gmail.com>
(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 ko = 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 ? '' : '';
}
});
return ko;
}));