Comments (4)
Please provide a minimal reproduction test case with the latest version. This would help a lot 👷.
A live example would be perfect. This codesandbox.io template may be a good starting point. You can find more codesandbox templates in our docs.
Thank you! 🙇🏼
from mui-x.
Hello @fakhamatia, have you tried overriding the dateFormats
on LocalizationProvider
?
There is a monthShort
format that is currently only used on the MonthCalendar
.
That is not the most proper solution long-term, but one that should work for now, until we provide more extensibility in this regard.
<LocalizationProvider
dateAdapter={AdapterDayjs}
dateFormats={{
monthShort: 'MMMM',
}}
>
from mui-x.
Hello @fakhamatia, have you tried overriding the
dateFormats
onLocalizationProvider
? There is amonthShort
format that is currently only used on theMonthCalendar
. That is not the most proper solution long-term, but one that should work for now, until we provide more extensibility in this regard.<LocalizationProvider dateAdapter={AdapterDayjs} dateFormats={{ monthShort: 'MMMM', }} >
Yes, it works perfectly!
from mui-x.
I'm glad to hear that it solves your problem. 🙌
I'm closing this issue as we have an open issue (#10874) to introduce more slots for year and month calendars. 😉
from mui-x.
Related Issues (20)
- [pickers] using `disableOpenPicker` prop with responsive DatePicker shows no dates in mobile calendar dialog HOT 1
- [pickers] when using `clearable` field with DatePicker, selecting a date doesn't return focus to openPickerButton HOT 1
- Removed Watermark from DateRangePicker Component in MUI X (Pro) HOT 5
- [DateRangePicker] Date range is not highlighted properly with `AdapterLuxon` HOT 4
- [DataGrid] Notifications in full CRUD example HOT 1
- [data grid] cannot re-enter table body with keyboard after page change HOT 10
- [data grid] Apply the aggregation to lead to the undefined error in another column HOT 11
- date picker HOT 2
- [question] Bulk editing in MUI X Pro HOT 3
- [pickers] I am trying to migrate my custom TextField component which was returned by the renderInput from v5 to v6 DatePicker HOT 2
- [pickers] How to render custom TextField component in DatePicker (v6) HOT 13
- [fields] Support `clearable` for multi input range fields
- [data grid] TypeError: apiRef.current.getAllRowIds is not a function HOT 4
- [data grid] Autosizing not working on the column where we use renderCell value HOT 2
- [data grid] How should components that use the MUI X Data Grid be unit tested? HOT 5
- [data grid] How do I get the count of filtered rows on initial load when I have an initial state? HOT 3
- [DataGrid] Treedata event listener for group collapse/expand HOT 2
- [DataGrid] Treedata expand/collapse does not trigger onRowClick-Event HOT 8
- [data grid] columnVisibilityModel breaks `Show all` and `Hide all` buttons in manage columns overlay HOT 14
- [data grid] event for popup open/close missing for pageSize popup HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.