From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/moment/src/moment.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'node_modules/moment/src/moment.js') diff --git a/node_modules/moment/src/moment.js b/node_modules/moment/src/moment.js index 2b78152f0..9516d285d 100644 --- a/node_modules/moment/src/moment.js +++ b/node_modules/moment/src/moment.js @@ -1,12 +1,12 @@ //! moment.js -//! version : 2.19.3 +//! version : 2.22.2 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com import { hooks as moment, setHookCallback } from './lib/utils/hooks'; -moment.version = '2.19.3'; +moment.version = '2.22.2'; import { min, @@ -79,4 +79,17 @@ moment.relativeTimeThreshold = relativeTimeThreshold; moment.calendarFormat = getCalendarFormat; moment.prototype = fn; +// currently HTML5 input type only supports 24-hour formats +moment.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // + DATE: 'YYYY-MM-DD', // + TIME: 'HH:mm', // + TIME_SECONDS: 'HH:mm:ss', // + TIME_MS: 'HH:mm:ss.SSS', // + WEEK: 'YYYY-[W]WW', // + MONTH: 'YYYY-MM' // +}; + export default moment; -- cgit v1.2.3