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.

moment.js 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. //! moment.js
  2. //! version : 2.29.1
  3. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  4. //! license : MIT
  5. //! momentjs.com
  6. import { hooks as moment, setHookCallback } from './lib/utils/hooks';
  7. moment.version = '2.29.1';
  8. import {
  9. min,
  10. max,
  11. now,
  12. isMoment,
  13. momentPrototype as fn,
  14. createUTC as utc,
  15. createUnix as unix,
  16. createLocal as local,
  17. createInvalid as invalid,
  18. createInZone as parseZone,
  19. } from './lib/moment/moment';
  20. import { getCalendarFormat } from './lib/moment/calendar';
  21. import {
  22. defineLocale,
  23. updateLocale,
  24. getSetGlobalLocale as locale,
  25. getLocale as localeData,
  26. listLocales as locales,
  27. listMonths as months,
  28. listMonthsShort as monthsShort,
  29. listWeekdays as weekdays,
  30. listWeekdaysMin as weekdaysMin,
  31. listWeekdaysShort as weekdaysShort,
  32. } from './lib/locale/locale';
  33. import {
  34. isDuration,
  35. createDuration as duration,
  36. getSetRelativeTimeRounding as relativeTimeRounding,
  37. getSetRelativeTimeThreshold as relativeTimeThreshold,
  38. } from './lib/duration/duration';
  39. import { normalizeUnits } from './lib/units/units';
  40. import isDate from './lib/utils/is-date';
  41. setHookCallback(local);
  42. moment.fn = fn;
  43. moment.min = min;
  44. moment.max = max;
  45. moment.now = now;
  46. moment.utc = utc;
  47. moment.unix = unix;
  48. moment.months = months;
  49. moment.isDate = isDate;
  50. moment.locale = locale;
  51. moment.invalid = invalid;
  52. moment.duration = duration;
  53. moment.isMoment = isMoment;
  54. moment.weekdays = weekdays;
  55. moment.parseZone = parseZone;
  56. moment.localeData = localeData;
  57. moment.isDuration = isDuration;
  58. moment.monthsShort = monthsShort;
  59. moment.weekdaysMin = weekdaysMin;
  60. moment.defineLocale = defineLocale;
  61. moment.updateLocale = updateLocale;
  62. moment.locales = locales;
  63. moment.weekdaysShort = weekdaysShort;
  64. moment.normalizeUnits = normalizeUnits;
  65. moment.relativeTimeRounding = relativeTimeRounding;
  66. moment.relativeTimeThreshold = relativeTimeThreshold;
  67. moment.calendarFormat = getCalendarFormat;
  68. moment.prototype = fn;
  69. // currently HTML5 input type only supports 24-hour formats
  70. moment.HTML5_FMT = {
  71. DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" />
  72. DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" />
  73. DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" />
  74. DATE: 'YYYY-MM-DD', // <input type="date" />
  75. TIME: 'HH:mm', // <input type="time" />
  76. TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" />
  77. TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" />
  78. WEEK: 'GGGG-[W]WW', // <input type="week" />
  79. MONTH: 'YYYY-MM', // <input type="month" />
  80. };
  81. export default moment;