1 // moment.js language configuration
2 // language : korean (ko)
6 // - Kyungwook, Park : https://github.com/kyungw00k
7 // - Jeeeyul Lee <jeeeyul@gmail.com>
9 if (typeof define === 'function' && define.amd) {
10 define(['moment'], factory); // AMD
11 } else if (typeof exports === 'object') {
12 module.exports = factory(require('../moment')); // Node
14 factory(window.moment); // Browser global
17 return moment.lang('ko', {
18 months : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
19 monthsShort : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
20 weekdays : "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
21 weekdaysShort : "일_월_화_수_목_금_토".split("_"),
22 weekdaysMin : "일_월_화_수_목_금_토".split("_"),
27 LLL : "YYYY년 MMMM D일 LT",
28 LLLL : "YYYY년 MMMM D일 dddd LT"
30 meridiem : function (hour, minute, isUpper) {
31 return hour < 12 ? '오전' : '오후';
38 lastWeek : '지난주 dddd LT',
58 meridiemParse : /(오전|오후)/,
59 isPM : function (token) {
60 return token === "오후";