-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pickers] Dayjs object missing toISOString and other date-related functions #16435
Comments
Hello @ZachSARAO If your code is calling Could you provide a code example with the version of packages on which your code works? 🤔 |
it was working with:
And a point in time where it was broken:
|
And some code:
|
Please provide a minimal live reproduction test case. This would help a lot 👷. |
https://codesandbox.io/p/sandbox/nostalgic-microservice-ds3f2g?file=%2Fsrc%2Findex.tsx%3A16%2C3&from-embed=&workspaceId=ws_MaV5U21Lhs5HYwSjyJifga - it is actually working... In my code I have defined this as a RJSF widget, so the problem could be through there. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @ZachSARAO How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
A bug crept into an app I work on (apologies I don't know when, so I can't pin versions easily).
This object:
Does not have the function
toISOString()
(it used to).Changing to the date-fns adapter, my component works again. If this is not expected I can dig into this a bit more
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: toISOString is not a function
The text was updated successfully, but these errors were encountered: