deprecation warning
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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: 2007-01-09/2007-01-09, _f: undefined, _strict: undefined, _locale: [object Object]
Error
at Function.eval [as createFromInputFallback] (webpack:///./node_modules/moment/moment.js?:319:94)
at configFromString (webpack:///./node_modules/moment/moment.js?:2177:11)
at configFromInput (webpack:///./node_modules/moment/moment.js?:2546:9)
at prepareConfig (webpack:///./node_modules/moment/moment.js?:2529:9)
at createFromConfig (webpack:///./node_modules/moment/moment.js?:2496:40)
at createLocalOrUTC (webpack:///./node_modules/moment/moment.js?:2583:12)
at createLocal (webpack:///./node_modules/moment/moment.js?:2587:12)
at hooks (webpack:///./node_modules/moment/moment.js?:15:25)
at eventdate (webpack:///./app/components/DataComponent.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0:211:24)
at eval (webpack:///./app/components/DataComponent.vue?./node_modules/vue-loader/lib/template-compiler?%7B%22id%22:%22data-v-6f78f054%22,%22hasScoped%22:false,%22optionsId%22:%220%22,%22buble%22:%7B%22transforms%22:%7B%7D%7D%7D!./node_modules/vue-loader/lib/selector.js?type=template&index=0:114:56)
warn @ moment.js:292
(anonymous) @ moment.js:319
configFromString @ moment.js:2177
configFromInput @ moment.js:2546
prepareConfig @ moment.js:2529
createFromConfig @ moment.js:2496
createLocalOrUTC @ moment.js:2583
createLocal @ moment.js:2587
hooks @ moment.js:15
eventdate @ DataComponent.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0:211
(anonymous) @ DataComponent.vue?./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-6f78f054","hasScoped":false,"optionsId":"0","buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0:114
renderList @ vue.js:3907
render @ DataComponent.vue?./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-6f78f054","hasScoped":false,"optionsId":"0","buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0:106
Vue._render @ vue.js:4189
updateComponent @ vue.js:2577
get @ vue.js:2918
run @ vue.js:2995
flushSchedulerQueue @ vue.js:2763
(anonymous) @ vue.js:703
nextTickHandler @ vue.js:650
Promise.then (async)
timerFunc @ vue.js:665
queueNextTick @ vue.js:713
queueWatcher @ vue.js:2850
update @ vue.js:2985
notify @ vue.js:780
reactiveSetter @ vue.js:1002
(anonymous) @ store.js:302
Promise.then (async)
fetch @ store.js:301
viewData @ store.js:293
viewData @ LayersComponent.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0:68
boundFn @ vue.js:184
click @ LayersComponent.vue?./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-06ee127e","hasScoped":false,"optionsId":"0","buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0:42
invoker @ vue.js:1826
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The warning originates in app/components/DataComponent.vue at the eventdate entry point around line 211; start there and reproduce the handling of 2007-01-09/2007-01-09. Done means this input no longer emits the deprecation warning while the affected data view continues to render.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100