Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //! moment.js locale configuration
  2. //! locale : Korean [ko]
  3. //! author : Kyungwook, Park : https://github.com/kyungw00k
  4. //! author : Jeeeyul Lee <jeeeyul@gmail.com>
  5. import moment from '../moment';
  6. export default moment.defineLocale('ko', {
  7. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  8. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
  9. '_'
  10. ),
  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. });