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.

ja.js 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 ja = moment.defineLocale('ja', {
  9. months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.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 : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'YYYY/MM/DD',
  18. LL : 'YYYY年M月D日',
  19. LLL : 'YYYY年M月D日 HH:mm',
  20. LLLL : 'YYYY年M月D日 dddd HH:mm',
  21. l : 'YYYY/MM/DD',
  22. ll : 'YYYY年M月D日',
  23. lll : 'YYYY年M月D日 HH:mm',
  24. llll : 'YYYY年M月D日(ddd) HH:mm'
  25. },
  26. meridiemParse: /午前|午後/i,
  27. isPM : function (input) {
  28. return input === '午後';
  29. },
  30. meridiem : function (hour, minute, isLower) {
  31. if (hour < 12) {
  32. return '午前';
  33. } else {
  34. return '午後';
  35. }
  36. },
  37. calendar : {
  38. sameDay : '[今日] LT',
  39. nextDay : '[明日] LT',
  40. nextWeek : function (now) {
  41. if (now.week() < this.week()) {
  42. return '[来週]dddd LT';
  43. } else {
  44. return 'dddd LT';
  45. }
  46. },
  47. lastDay : '[昨日] LT',
  48. lastWeek : function (now) {
  49. if (this.week() < now.week()) {
  50. return '[先週]dddd LT';
  51. } else {
  52. return 'dddd LT';
  53. }
  54. },
  55. sameElse : 'L'
  56. },
  57. dayOfMonthOrdinalParse : /\d{1,2}日/,
  58. ordinal : function (number, period) {
  59. switch (period) {
  60. case 'd':
  61. case 'D':
  62. case 'DDD':
  63. return number + '日';
  64. default:
  65. return number;
  66. }
  67. },
  68. relativeTime : {
  69. future : '%s後',
  70. past : '%s前',
  71. s : '数秒',
  72. ss : '%d秒',
  73. m : '1分',
  74. mm : '%d分',
  75. h : '1時間',
  76. hh : '%d時間',
  77. d : '1日',
  78. dd : '%d日',
  79. M : '1ヶ月',
  80. MM : '%dヶ月',
  81. y : '1年',
  82. yy : '%d年'
  83. }
  84. });
  85. return ja;
  86. })));