Merge "Import: Fix error reporting"
[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((typeof global !== 'undefined' ? global : this).moment); // node or other 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 LTS : 'A h시 m분 s초',
26 L : 'YYYY.MM.DD',
27 LL : 'YYYY년 MMMM D일',
28 LLL : 'YYYY년 MMMM D일 LT',
29 LLLL : 'YYYY년 MMMM D일 dddd LT'
30 },
31 meridiem : function (hour, minute, isUpper) {
32 return hour < 12 ? '오전' : '오후';
33 },
34 calendar : {
35 sameDay : '오늘 LT',
36 nextDay : '내일 LT',
37 nextWeek : 'dddd LT',
38 lastDay : '어제 LT',
39 lastWeek : '지난주 dddd LT',
40 sameElse : 'L'
41 },
42 relativeTime : {
43 future : '%s 후',
44 past : '%s 전',
45 s : '몇초',
46 ss : '%d초',
47 m : '일분',
48 mm : '%d분',
49 h : '한시간',
50 hh : '%d시간',
51 d : '하루',
52 dd : '%d일',
53 M : '한달',
54 MM : '%d달',
55 y : '일년',
56 yy : '%d년'
57 },
58 ordinalParse : /\d{1,2}일/,
59 ordinal : '%d일',
60 meridiemParse : /(오전|오후)/,
61 isPM : function (token) {
62 return token === '오후';
63 }
64 });
65 }));