minusDays() returns wrong date for below specific use case
Version: v1.2.1
Code to reproduce:
val date = LocalDate.of(2020, 1, 13).minusMonths(1)
val lastDate = date.withDayOfMonth(date.lengthOfMonth())
val dateStr = DateTimeFormatter.ofPattern("MMMM dd YYYY").format(lastDate)
minusDays() returns wrong date for below specific use case
Version: v1.2.1
Code to reproduce:
Expected: dateStr must be "December 31 2019"
Actual: dateStr is "December 31 2020"