
Is there a way to change this month year format to something like 11月2019年?
Is there a way to change this month year format to something like 11月2019年?
can you change this ?
https://material-ui-pickers.dev/guides/formats
it's not
i change calendar format
pls HLP
https://material-ui-pickers.dev/guides/formats
it's not
i change calendar format
pls HLP
I was able to change the format. This is how I did it. I used MomentUtils not DateFnsUtils.
import "moment/locale/ja";
import MomentUtils from "@date-io/moment";
class LocalizedUtils extends MomentUtils {
getCalendarHeaderText(date){
return date.format("MM月YYYY年");
}
}
<MuiPickersUtilsProvider locale="ja" utils={LocalizedUtils}>
<KeyboardDatePicker
format="MM月DD日"
//value={filterData.startDate}
//onChange={this.changeStartDate}
cancelLabel="ã‚ャンセル"
okLabel="確定"
/>
</MuiPickersUtilsProvider>
Thank a lot for the information.
Most helpful comment
Thank a lot for the information.