3 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
7 import { hooks as moment, setHookCallback } from './lib/utils/hooks';
9 moment.version = '2.13.0';
16 momentPrototype as fn,
20 createInvalid as invalid,
21 createInZone as parseZone
22 } from './lib/moment/moment';
27 getSetGlobalLocale as locale,
28 getLocale as localeData,
29 listLocales as locales,
31 listMonthsShort as monthsShort,
32 listWeekdays as weekdays,
33 listWeekdaysMin as weekdaysMin,
34 listWeekdaysShort as weekdaysShort
35 } from './lib/locale/locale';
39 createDuration as duration,
40 getSetRelativeTimeThreshold as relativeTimeThreshold
41 } from './lib/duration/duration';
43 import { normalizeUnits } from './lib/units/units';
45 import isDate from './lib/utils/is-date';
47 setHookCallback(local);
55 moment.months = months;
56 moment.isDate = isDate;
57 moment.locale = locale;
58 moment.invalid = invalid;
59 moment.duration = duration;
60 moment.isMoment = isMoment;
61 moment.weekdays = weekdays;
62 moment.parseZone = parseZone;
63 moment.localeData = localeData;
64 moment.isDuration = isDuration;
65 moment.monthsShort = monthsShort;
66 moment.weekdaysMin = weekdaysMin;
67 moment.defineLocale = defineLocale;
68 moment.updateLocale = updateLocale;
69 moment.locales = locales;
70 moment.weekdaysShort = weekdaysShort;
71 moment.normalizeUnits = normalizeUnits;
72 moment.relativeTimeThreshold = relativeTimeThreshold;
73 moment.prototype = fn;
75 export default moment;