Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ko.js 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var ko = moment.defineLocale('ko', {
  9. months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  10. monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  11. weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  12. weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
  13. weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
  14. longDateFormat : {
  15. LT : 'A h:mm',
  16. LTS : 'A h:mm:ss',
  17. L : 'YYYY.MM.DD.',
  18. LL : 'YYYY년 MMMM D일',
  19. LLL : 'YYYY년 MMMM D일 A h:mm',
  20. LLLL : 'YYYY년 MMMM D일 dddd A h:mm',
  21. l : 'YYYY.MM.DD.',
  22. ll : 'YYYY년 MMMM D일',
  23. lll : 'YYYY년 MMMM D일 A h:mm',
  24. llll : 'YYYY년 MMMM D일 dddd A h:mm'
  25. },
  26. calendar : {
  27. sameDay : '오늘 LT',
  28. nextDay : '내일 LT',
  29. nextWeek : 'dddd LT',
  30. lastDay : '어제 LT',
  31. lastWeek : '지난주 dddd LT',
  32. sameElse : 'L'
  33. },
  34. relativeTime : {
  35. future : '%s 후',
  36. past : '%s 전',
  37. s : '몇 초',
  38. ss : '%d초',
  39. m : '1분',
  40. mm : '%d분',
  41. h : '한 시간',
  42. hh : '%d시간',
  43. d : '하루',
  44. dd : '%d일',
  45. M : '한 달',
  46. MM : '%d달',
  47. y : '일 년',
  48. yy : '%d년'
  49. },
  50. dayOfMonthOrdinalParse : /\d{1,2}(일|월|주)/,
  51. ordinal : function (number, period) {
  52. switch (period) {
  53. case 'd':
  54. case 'D':
  55. case 'DDD':
  56. return number + '일';
  57. case 'M':
  58. return number + '월';
  59. case 'w':
  60. case 'W':
  61. return number + '주';
  62. default:
  63. return number;
  64. }
  65. },
  66. meridiemParse : /오전|오후/,
  67. isPM : function (token) {
  68. return token === '오후';
  69. },
  70. meridiem : function (hour, minute, isUpper) {
  71. return hour < 12 ? '오전' : '오후';
  72. }
  73. });
  74. return ko;
  75. })));