Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Deprecation warning: moment construction falls back to js Date #160

Open
vporoshok opened this issue Apr 21, 2016 · 0 comments
Open

Deprecation warning: moment construction falls back to js Date #160

vporoshok opened this issue Apr 21, 2016 · 0 comments

Comments

@vporoshok
Copy link

Hi!

I got a problem in combination salt 2015.8.8 and saltpad 0.3.1: incorrect datetime presentation. When I've start a job it's showing as lunched 4 hour ago (my timezone is +4). This is a warning in browser console:

Deprecation warning: 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.
Arguments: [object Object]
http://salt-dev.firm.local/static/app.js:1:4121
pe@http://salt-dev.firm.local/static/app.js:1:12270
Ae@http://salt-dev.firm.local/static/app.js:1:16156
Ge@http://salt-dev.firm.local/static/app.js:1:16017
Ne@http://salt-dev.firm.local/static/app.js:1:15737
Ze@http://salt-dev.firm.local/static/app.js:1:16469
Me@http://salt-dev.firm.local/static/app.js:1:16503
t@http://salt-dev.firm.local/static/app.js:1:1609
r@http://salt-dev.firm.local/static/app.js:25:7474
promiseReactionJob@[native code]

And I can't run any job w/o template, because when browser try to load list of tasks it conflict with "invalid datetime". Where I've wrong?

timwhite added a commit to timwhite/saltpad that referenced this issue Mar 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant