test/dummy/vendor/assets/components/moment/src/lib/units/hour.js in date_picker-0.0.6 vs test/dummy/vendor/assets/components/moment/src/lib/units/hour.js in date_picker-0.0.7

- old
+ new

@@ -3,10 +3,11 @@ import { addUnitAlias } from './aliases'; import { addRegexToken, match1to2, match2 } from '../parse/regex'; import { addParseToken } from '../parse/token'; import { HOUR } from './constants'; import toInt from '../utils/to-int'; +import getParsingFlags from '../create/parsing-flags'; // FORMATTING addFormatToken('H', ['HH', 2], 0, 'hour'); addFormatToken('h', ['hh', 2], 0, function () { @@ -44,10 +45,10 @@ config._isPm = config._locale.isPM(input); config._meridiem = input; }); addParseToken(['h', 'hh'], function (input, array, config) { array[HOUR] = toInt(input); - config._pf.bigHour = true; + getParsingFlags(config).bigHour = true; }); // LOCALES export function localeIsPM (input) {