1 // moment.js locale configuration
2 // locale : korean (ko)
6 // - Kyungwook, Park : https://github.com/kyungw00k
7 // - Jeeeyul Lee <jeeeyul@gmail.com>
9 // Comment out broken wrapper, see T145382
10 /*if (typeof define === 'function' && define.amd) {
11 define(['moment'], factory); // AMD
12 } else if (typeof exports === 'object') {
13 module.exports = factory(require('../moment')); // Node
15 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
19 return moment.defineLocale('ko', {
20 months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
21 monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
22 weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
23 weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
24 weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
30 LLL : 'YYYY년 MMMM D일 LT',
31 LLLL : 'YYYY년 MMMM D일 dddd LT'
33 meridiem : function (hour, minute, isUpper) {
34 return hour < 12 ? '오전' : '오후';
41 lastWeek : '지난주 dddd LT',
60 ordinalParse : /\d{1,2}일/,
62 meridiemParse : /(오전|오후)/,
63 isPM : function (token) {
64 return token === '오후';