Interacting with calendar causes warning
See original GitHub issueEnvironment
Tech | Version |
---|---|
material-ui-pickers | v2.1.1 |
material-ui | v9.0 |
React | v17.8 |
Browser | All |
Peer library | date-fns |
Steps to reproduce
- Interact with a date/time-field
- The warning occures
Expected behavior
No warning is given.
Actual behavior
In the console, the following warnins are given:
Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fpAk2
toDate@webpack-internal:///./node_modules/date-fns/esm/toDate/index.js:59:20
isBefore@webpack-internal:///./node_modules/date-fns/esm/isBefore/index.js:36:23
DateFnsUtils.prototype.isBefore@webpack-internal:///./node_modules/@date-io/date-fns/build/index.esm.js:82:16
Calendar/_this.shouldDisableNextMonth@webpack-internal:///./node_modules/material-ui-pickers/dist/material-ui-pickers.esm.js:1465:65
Calendar</Calendar.prototype.render@webpack-internal:///./node_modules/material-ui-pickers/dist/material-ui-pickers.esm.js:1616:25
hotComponentRender@webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:728:17
proxiedRender@webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:748:12
finishClassComponent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14534:22
updateClassComponent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14489:24
beginWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:15335:16
performUnitOfWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:18150:12
workLoop@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:18190:24
renderRoot@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:18276:7
performWorkOnRoot@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19165:7
performWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19077:7
performSyncWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19051:3
interactiveUpdates$1@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19320:7
interactiveUpdates@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:2169:10
dispatchInteractiveEvent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4880:3
index.js:57
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How to get rid of a calendar virus on different devices
How to stop iPhone calendar spam ... On your iPhone or iPad, go to Settings > Safari and turn on Block Pop-ups and...
Read more >Delete Calendar Events spam virus on iPhone/iPad and Mac
This article provides detailed walkthroughs to get rid of misleading events that recurrently poison the Calendar app on an iOS device or Mac ......
Read more >Spam In your Calendar? Here's What to Do. - Krebs on Security
Calendar invites from spammers run the gamut from ads for porn or pharmacy sites, to claims of an unexpected financial windfall or “free”...
Read more >How to stop spam appearing in your iPhone's Calendar
Here's how to stop your iPhone Calendar being hacked by what some assume is an iPhone Calendar virus - and how to remove...
Read more >PHP Warning on Calendar, The Events Calendar
This looks like a conflict between Yoast SEO and events calendar. Are both plugins updated? According to this, the latest version of The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
😄
We are not supporting
beta
version yet