prolificinteractive / material-calendarview

A Material design back port of Android's CalendarView
https://prolificinteractive.github.io/material-calendarview/
MIT License
5.91k stars 1.32k forks source link

Header #1073

Open vishnukumar94 opened 3 years ago

vishnukumar94 commented 3 years ago

I have changed the title format of the header as "MMM d, yyyy".

SimpleDateFormat sf = new SimpleDateFormat("MMM d, yyyy"); DateFormatTitleFormatter dateFormatTitleFormatter = new DateFormatTitleFormatter(sf); dateFormatTitleFormatter.format(CalendarDay.today()); materialCalendarView.setTitleFormatter(dateFormatTitleFormatter);

I need to change the day of current day, but it shows the 1st day of the month. Example: Oct 1, 2020 but i need output of Oct 30, 2020.

If I select any date, it should show the selected date on the header. Please help me for the customization.