1 //! moment.js locale configuration
2 //! locale : korean (ko)
6 //! - Kyungwook, Park : https://github.com/kyungw00k
7 //! - Jeeeyul Lee <jeeeyul@gmail.com>
9 ;(function (global, factory) {
10 typeof exports === 'object' && typeof module !== 'undefined'
11 && typeof require === 'function' ? factory(require('../moment')) :
12 typeof define === 'function' && define.amd ? define(['moment'], factory) :
13 factory(global.moment)
14 }(this, function (moment) { 'use strict';
17 var ko = moment.defineLocale('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('_'),
28 LLL : 'YYYY년 MMMM D일 A h시 m분',
29 LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
36 lastWeek : '지난주 dddd LT',
55 ordinalParse : /\d{1,2}일/,
57 meridiemParse : /오전|오후/,
58 isPM : function (token) {
59 return token === '오후';
61 meridiem : function (hour, minute, isUpper) {
62 return hour < 12 ? '오전' : '오후';