Skip to content
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

Header #1073

Open
vishnukumar94 opened this issue Oct 30, 2020 · 0 comments
Open

Header #1073

vishnukumar94 opened this issue Oct 30, 2020 · 0 comments

Comments

@vishnukumar94
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant