UNPKG

@happyvibess/node-cleaner

Version:

๐Ÿงน Interactive CLI tool to find and clean node_modules directories and free up space

87 lines (81 loc) โ€ข 2.84 kB
//! moment.js locale configuration //! locale : Korean [ko] //! author : Kyungwook, Park : https://github.com/kyungw00k //! author : Jeeeyul Lee <jeeeyul@gmail.com> ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; //! moment.js locale configuration var ko = 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:mm', LTS: 'A h:mm:ss', L: 'YYYY.MM.DD.', LL: 'YYYY๋…„ MMMM D์ผ', LLL: 'YYYY๋…„ MMMM D์ผ A h:mm', LLLL: 'YYYY๋…„ MMMM D์ผ dddd A h:mm', l: 'YYYY.MM.DD.', ll: 'YYYY๋…„ MMMM D์ผ', lll: 'YYYY๋…„ MMMM D์ผ A h:mm', llll: 'YYYY๋…„ MMMM D์ผ dddd A h:mm', }, calendar: { sameDay: '์˜ค๋Š˜ LT', nextDay: '๋‚ด์ผ LT', nextWeek: 'dddd LT', lastDay: '์–ด์ œ LT', lastWeek: '์ง€๋‚œ์ฃผ dddd LT', sameElse: 'L', }, relativeTime: { future: '%s ํ›„', past: '%s ์ „', s: '๋ช‡ ์ดˆ', ss: '%d์ดˆ', m: '1๋ถ„', mm: '%d๋ถ„', h: 'ํ•œ ์‹œ๊ฐ„', hh: '%d์‹œ๊ฐ„', d: 'ํ•˜๋ฃจ', dd: '%d์ผ', M: 'ํ•œ ๋‹ฌ', MM: '%d๋‹ฌ', y: '์ผ ๋…„', yy: '%d๋…„', }, dayOfMonthOrdinalParse: /\d{1,2}(์ผ|์›”|์ฃผ)/, ordinal: function (number, period) { switch (period) { case 'd': case 'D': case 'DDD': return number + '์ผ'; case 'M': return number + '์›”'; case 'w': case 'W': return number + '์ฃผ'; default: return number; } }, meridiemParse: /์˜ค์ „|์˜คํ›„/, isPM: function (token) { return token === '์˜คํ›„'; }, meridiem: function (hour, minute, isUpper) { return hour < 12 ? '์˜ค์ „' : '์˜คํ›„'; }, }); return ko; })));