mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
fix deprecation comment in momentjs
This commit is contained in:
parent
e2df79ee9e
commit
4eeae880b6
1 changed files with 1 additions and 4 deletions
|
@ -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' : ''));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue