Calendar systems
Use the Date and Time Pickers with non-Gregorian calendars.
Jalali
You can use either the AdapterDateFnsJalali
adapter, which is based on date-fns-jalali,
or the AdapterMomentJalaali
adapter, which is based on moment-jalaali.
The following demo shows how to use the date-fns-jalali
adapter:
Press Enter to start editing
The following demo shows how to use the moment-jalaali
adapter:
Press Enter to start editing
Hijri
You can use the AdapterMomentHijri
adapter, which is based on moment-hijri:
Press Enter to start editing
Unsupported libraries
If you need to use a date library that is not supported yet, please open an issue in the MUI X repository.
API
See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.