1 //! moment.js locale configuration
2 //! locale : Korean [ko]
3 //! author : Kyungwook, Park : https://github.com/kyungw00k
4 //! author : Jeeeyul Lee <jeeeyul@gmail.com>
6 ;(function (global, factory) {
7 typeof exports === 'object' && typeof module !== 'undefined'
8 && typeof require === 'function' ? factory(require('../moment')) :
9 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 factory(global.moment)
11 }(this, (function (moment) { 'use strict';
13 //! moment.js locale configuration
15 var ko = moment.defineLocale('ko', {
16 months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
17 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:mm',
29 LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
32 lll: 'YYYY년 MMMM D일 A h:mm',
33 llll: 'YYYY년 MMMM D일 dddd A h:mm',
40 lastWeek: '지난주 dddd LT',
59 dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
60 ordinal: function (number, period) {
75 meridiemParse: /오전|오후/,
76 isPM: function (token) {
77 return token === '오후';
79 meridiem: function (hour, minute, isUpper) {
80 return hour < 12 ? '오전' : '오후';