Merge "Fix malformed UTF-8 going to query profiler"
[lhc/web/wiklou.git] / resources / lib / moment / locale / ko.js
1 // moment.js locale configuration
2 // locale : korean (ko)
3 //
4 // authors
5 //
6 // - Kyungwook, Park : https://github.com/kyungw00k
7 // - Jeeeyul Lee <jeeeyul@gmail.com>
8 (function (factory) {
9 if (typeof define === 'function' && define.amd) {
10 define(['moment'], factory); // AMD
11 } else if (typeof exports === 'object') {
12 module.exports = factory(require('../moment')); // Node
13 } else {
14 factory(window.moment); // Browser global
15 }
16 }(function (moment) {
17 return moment.defineLocale('ko', {
18 months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
19 monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
20 weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
21 weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
22 weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
23 longDateFormat : {
24 LT : 'A h시 m분',
25 L : 'YYYY.MM.DD',
26 LL : 'YYYY년 MMMM D일',
27 LLL : 'YYYY년 MMMM D일 LT',
28 LLLL : 'YYYY년 MMMM D일 dddd LT'
29 },
30 meridiem : function (hour, minute, isUpper) {
31 return hour < 12 ? '오전' : '오후';
32 },
33 calendar : {
34 sameDay : '오늘 LT',
35 nextDay : '내일 LT',
36 nextWeek : 'dddd LT',
37 lastDay : '어제 LT',
38 lastWeek : '지난주 dddd LT',
39 sameElse : 'L'
40 },
41 relativeTime : {
42 future : '%s 후',
43 past : '%s 전',
44 s : '몇초',
45 ss : '%d초',
46 m : '일분',
47 mm : '%d분',
48 h : '한시간',
49 hh : '%d시간',
50 d : '하루',
51 dd : '%d일',
52 M : '한달',
53 MM : '%d달',
54 y : '일년',
55 yy : '%d년'
56 },
57 ordinal : '%d일',
58 meridiemParse : /(오전|오후)/,
59 isPM : function (token) {
60 return token === '오후';
61 }
62 });
63 }));