-
Notifications
You must be signed in to change notification settings - Fork 831
Datepicker calls unexisting function utils.getYearText
when using moment?
#1471
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Use date-io v1.x. |
@dmtrKovalenko Just a heads up, the readme/installation instructions on github for this project does not reference v1.x |
@GavinThompson thanks, all the time forgetting about readme. |
Will this be fixed at some point? This is seriously annoying every time I update my dependencies. It's like "WTF? What now?" Then I waste an hour tracking back to this issue. |
@yanickrochon This already fixed in v4. Update to v4 to use date-io v2. Or use v3 stable of pickers, but do not update date-io. Thats it. |
@dmtrKovalenko fair enough. thanks. |
I have
and still fails |
@Jesusz0r Can you reproduce it with |
Use |
Thanks! This worked for me :) |
For those who faced this issue while using Libraries:
|
Thanks!!!!! 💯 |
Just for documenting purpouse, the following setup worked for me "@date-io/moment": "1.3.9", |
So the fix here is to use outdated versions of the involved libs? 🤔 How is this closed? |
I am using: Still having issues. I can't downgrade unfortunately. How and when this be resolved? |
Sorry, but the mentioned library is no longer maintained for quite some time. |
for material ui 4. |
Environment
Steps to reproduce
Just added a simple component containing (can't get more basic than this, I'm even providing a static date just to show the error):
Expected behavior
Well I expect it to work
Actual behavior
The following (long) error chain (though initial error is probably the best):
Live example
(notice that the error is truncated here).
https://codesandbox.io/s/relaxed-bouman-qu188
The text was updated successfully, but these errors were encountered: