Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning: node process.js - moment construction falls back to js Date() #3

Open
schlos opened this issue Dec 20, 2020 · 0 comments

Comments

@schlos
Copy link
Member

schlos commented Dec 20, 2020

imamopravoznati-stats % npm start

> [email protected] start /Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats
> node process.js

Deprecation warning: 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.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Tue Jan 01 2019 00:00:00 GMT+0100 (Central European Standard Time), _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:320:98)
    at configFromString (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2385:15)
    at configFromInput (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2611:13)
    at prepareConfig (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2594:13)
    at createFromConfig (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2561:44)
    at createLocalOrUTC (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2648:16)
    at createLocal (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:2652:16)
    at hooks (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/node_modules/moment/moment.js:12:29)
    at Store.getOptions (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/lib/store.js:77:15)
    at Object.<anonymous> (/Users/miroslav/CodeForCroatia/Workspace CFC/imamopravoznati-stats/process.js:18:53)
The file has been saved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant