diff --git a/backend/src/main/java/de/hft/geotime/repositories/RecordRepository.java b/backend/src/main/java/de/hft/geotime/repositories/RecordRepository.java index 71c04f6..a7e1822 100644 --- a/backend/src/main/java/de/hft/geotime/repositories/RecordRepository.java +++ b/backend/src/main/java/de/hft/geotime/repositories/RecordRepository.java @@ -27,8 +27,8 @@ public interface RecordRepository extends PagingAndSortingRepository findAllByStartdateBetweenAndAccount_User_Username( - LocalDateTime start, - LocalDateTime end, + @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") LocalDateTime start, + @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") LocalDateTime end, String username, Pageable pageable );