WeekDatePicker icon indicating copy to clipboard operation
WeekDatePicker copied to clipboard

Fix getDayForDate method

Open stumi01 opened this issue 7 years ago • 0 comments

The firstDay.until(date) will give back the period which is divided by years months and days , therefore the getDays() will be never greater than |30|.

Solution: to use the firstDay.until(date,ChronoUnit.DAYS) which correctly calculated the days between the two LocalDate

stumi01 avatar Apr 20 '18 11:04 stumi01