Closed malikbilal1997 closed 3 years ago
@malikbilal1997 Thanks, I'll check this when I get a chance.
@malikbilal1997 Thanks, I'll check this when I get a chance.
Sure for work around i'm setting date manually.
` Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
int day = calendar.get(Calendar.DAY_OF_MONTH);
int month = calendar.get(Calendar.MONTH) + 1;
int year = calendar.get(Calendar.YEAR);
cmtpDateDialogFragment.setInitialDate(day, month, year);
`
Fixed and released in version 1.1.2 which is now available to use.
`
Date date = new Date();
`
java.lang.IllegalStateException: Invalid month. Must be between 1 and 12