@happyvibess/node-cleaner
Version:
๐งน Interactive CLI tool to find and clean node_modules directories and free up space
76 lines (73 loc) โข 2.22 kB
JavaScript
//! moment.js locale configuration
//! locale : Korean [ko]
//! author : Kyungwook, Park : https://github.com/kyungw00k
//! author : 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: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 ? '์ค์ ' : '์คํ';
},
});