fix deprecation comment in momentjs

This commit is contained in:
Régis Hanol 2016-05-21 12:49:29 +02:00
parent e2df79ee9e
commit 4eeae880b6
1 changed files with 1 additions and 4 deletions

View File

@ -1171,10 +1171,7 @@
}
utils_hooks__hooks.createFromInputFallback = deprecate(
'moment construction falls back to js Date. This is ' +
'discouraged and will be removed in upcoming major ' +
'release. Please refer to ' +
'https://github.com/moment/moment/issues/1407 for more info.',
'moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.',
function (config) {
config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
}