Merge "Don't fallback from uk to ru"
[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 // Comment out broken wrapper, see T145382
10 /*if (typeof define === 'function' && define.amd) {
11 define(['moment'], factory); // AMD
12 } else if (typeof exports === 'object') {
13 module.exports = factory(require('../moment')); // Node
14 } else {
15 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
16 }*/
17 factory(this.moment);
18 }(function (moment) {
19 return moment.defineLocale('ko', {
20 months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
21 monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
22 weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
23 weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
24 weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
25 longDateFormat : {
26 LT : 'A h시 m분',
27 LTS : 'A h시 m분 s초',
28 L : 'YYYY.MM.DD',
29 LL : 'YYYY년 MMMM D일',
30 LLL : 'YYYY년 MMMM D일 LT',
31 LLLL : 'YYYY년 MMMM D일 dddd LT'
32 },
33 meridiem : function (hour, minute, isUpper) {
34 return hour < 12 ? '오전' : '오후';
35 },
36 calendar : {
37 sameDay : '오늘 LT',
38 nextDay : '내일 LT',
39 nextWeek : 'dddd LT',
40 lastDay : '어제 LT',
41 lastWeek : '지난주 dddd LT',
42 sameElse : 'L'
43 },
44 relativeTime : {
45 future : '%s 후',
46 past : '%s 전',
47 s : '몇초',
48 ss : '%d초',
49 m : '일분',
50 mm : '%d분',
51 h : '한시간',
52 hh : '%d시간',
53 d : '하루',
54 dd : '%d일',
55 M : '한달',
56 MM : '%d달',
57 y : '일년',
58 yy : '%d년'
59 },
60 ordinalParse : /\d{1,2}일/,
61 ordinal : '%d일',
62 meridiemParse : /(오전|오후)/,
63 isPM : function (token) {
64 return token === '오후';
65 }
66 });
67 }));