Open AmritaTakken opened 6 years ago
Replace below Function In MonthLoader
@Override
public double toWeekViewPeriodIndex(Calendar instance){
return instance.get(Calendar.YEAR) * 12 + instance.get(Calendar.MONTH) + (instance.get(Calendar.DAY_OF_MONTH) - 1) / 30.0;
}
With
@Override
public double toWeekViewPeriodIndex(Calendar instance){
return instance.get(Calendar.YEAR) * 12 + instance.get(Calendar.MONTH) + (instance.get(Calendar.DAY_OF_MONTH) - 1) / instance.get(Calendar.DAY_OF_MONTH);
}
Due to "30.0" value data was not displayed on the 31st day of the month.
Some code are needed. We can't help you here. Add more context to your request.