material-date-range-picker
material-date-range-picker copied to clipboard
Attempted import error: 'isWithinRange' is not exported from 'date-fns'.
I have this issue
Hey nadimgkmit, can you try the exact version of date-fns specified in the readme? Haven't touched this project in a while and do not know the status of newer date-fns versions.
I can see that 'isWithinRange' has been renamed to 'isWithinInterval' in the date-fns module to mirror the use of the word "interval" in standard ISO 8601:2004. Ref: https://github.com/date-fns/date-fns/blob/5cb0dde16c47dd72deb779623a71e5b0e771c211/CHANGELOG.md