Skip to content
Snippets Groups Projects
Commit 272b3292 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #688 - save repeating end option "date" no longer leads to a parse error

parent 1876e95a
Branches
Tags
No related merge requests found
......@@ -218,7 +218,7 @@ public class TransactionController extends BaseController
repeatingEnd = new RepeatingEndAfterXTimes(Integer.parseInt(repeatingEndValue));
break;
case DATE:
LocalDate endDate = LocalDate.parse(repeatingEndValue, DateTimeFormatter.ofPattern(DateFormatStyle.NORMAL.getKey()).withLocale(settingsService.getSettings().getLanguage().getLocale()));
LocalDate endDate = LocalDate.parse(repeatingEndValue, DateTimeFormatter.ofPattern(DateFormatStyle.LONG.getKey()).withLocale(settingsService.getSettings().getLanguage().getLocale()));
repeatingEnd = new RepeatingEndDate(endDate);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment