From: Alex Ghiculescu Date: Wed, 30 Sep 2020 19:01:14 +0000 (-0500) Subject: [misc] Update dep message to reflect project status (#5737) X-Git-Tag: 2.29.1~4 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=116752cce864f9254111abacc7db25644596595f;p=thirdparty%2Fmoment.git [misc] Update dep message to reflect project status (#5737) --- diff --git a/src/lib/create/from-string.js b/src/lib/create/from-string.js index dd1ff9d9f..689bc9abd 100644 --- a/src/lib/create/from-string.js +++ b/src/lib/create/from-string.js @@ -247,8 +247,7 @@ export function configFromString(config) { hooks.createFromInputFallback = deprecate( 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + - 'discouraged and will be removed in an upcoming major release. Please refer to ' + - 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) { config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); }