Sha256: 026f632768a88133b5c97404c966b791a59cec2d0d59243bd25a0949727f922f

Contents?: true

Size: 1.68 KB

Versions: 9

Compression:

Stored size: 1.68 KB

Contents

//! moment.js locale configuration
//! locale : korean (ko)
//!
//! authors
//!
//! - Kyungwook, Park : https://github.com/kyungw00k
//! - Jeeeyul Lee <jeeeyul@gmail.com>

import moment from '../moment';

export default 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일 LT',
        LLLL : 'YYYY년 MMMM D일 dddd LT'
    },
    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 ? '오전' : '오후';
    }
});

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
sedge_cms-0.0.1 vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.6 test/dummy/vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.5 test/dummy/vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.4 test/dummy/vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.3 test/dummy/vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.2 test/dummy/vendor/assets/components/moment/src/locale/ko.js
date_picker-0.0.1 test/dummy/vendor/assets/components/moment/src/locale/ko.js
puppet-herald-0.8.1 lib/puppet-herald/public/bower_components/moment/src/locale/ko.js
puppet-herald-0.8.0 lib/puppet-herald/public/bower_components/moment/src/locale/ko.js