-
-
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] BuddhistEra support #9784
Comments
Thanks for raising this issue! 🙌 Could you provide a reproduction case? Maybe a codesandbox with what you are trying to achieve? I feel like the problem might be because you are trying to use 'BBBB' as the format for the year. You can check out the formats we support here |
https://codesandbox.io/embed/competent-paper-m4fffv?fontsize=14&hidenavigation=1&theme=dark |
We currently do not support |
Finally! I can make it work!! this just change |
@eikqzx I've tried looking for a more proper solution for this question and I think that this codesandbox does showcase a less error-prone solution. |
Yes, thank for you improve code. |
Reopening the issue. |
Unfortunately we won't be able to support If you have the time to implement the parsing of |
Thank, everyone! I've been searching for a solution for a long time, and I finally found it! 👍 |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @eikqzx 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. |
I just have time to start implementing this, but I’ve never developed a library before. Could you guide me on how to get started? |
I tried to apply this way but it does not seem to work on MUIv6 |
See #9784 (comment) for the reason 👍 |
@eikqzx you have a look at the contributor guide of dayjs. |
Duplicates
Latest version
Summary 💡
original Dayjs is support BuddhistEra why AdapterDayjs in mui is not support?
Examples 🌈
No response
Motivation 🔦
in original Dayjs is just
" import buddhistEra from 'dayjs/plugin/buddhistEra';
dayjs.extend(buddhistEra);
dayjs().format("DD MM BBBB") "
it return "25 7 2563"
and I try to format props in component DatePicker it return "25 7 BBBB"
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: