date-and-time
Version:
A Minimalist DateTime utility for Node.js and the browser
24 lines (20 loc) • 829 B
JavaScript
/**
* @preserve date-and-time.js locale configuration
* @preserve Korean (ko)
* @preserve It is using moment.js locale configuration as a reference.
*/
var ko = function (date) {
var code = 'ko';
date.locale(code, {
res: {
MMMM: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
MMM: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
dddd: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'],
ddd: ['일', '월', '화', '수', '목', '금', '토'],
dd: ['일', '월', '화', '수', '목', '금', '토'],
A: ['오전', '오후']
}
});
return code;
};
export { ko as default };