DmitriiVashchenko

Results 2 comments of DmitriiVashchenko

Hi @cbezmen, but your date formation is also different from the pattern. I expect the date to be shaped like dd.MM.yyy when this date field is represented as an object...

@cbezmen, but this way works fine @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) List getObjects(@RequestParam("from") @DateTimeFormat(pattern = "dd.MM.yyyy") LocalDate from, @RequestParam("to") @DateTimeFormat(pattern = "dd.MM.yyyy") LocalDate to); Here also @DateTimeFormat annotation with LocalDate type, just...