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

setMinDate and setMaxDate not working correctly #1068

Open nithinmurali opened 3 years ago

nithinmurali commented 3 years ago

if setMinDate and setMaxDate have same month then wrong month is shown.

                    .setMinimumDate(CalendarDay.from(2020, 5, 1))
                    .setMaximumDate(CalendarDay.from(2020, 5, 2))
                    .commit()

but now the date set are 1/9/2020 and 2/9/2020. where 9 is the current month.

Sathyan-Elangovan commented 3 years ago

I too have the same issue.If you resolved this,Kindly tell me the solution