@@ -0,0 +1,542 @@
+package com.github.twostone.leaderboard.utils.date;%0Aimport java.time.Instant;%0Aimport java.time.LocalDate;%0Aimport java.util.Date;%0Aimport javax.persistence.AttributeConverter;%0Aimport javax.persistence.Converter;%0A%0A@Converter(autoApply = true)%0Apublic class LocalDateConverter implements AttributeConverter%3CInstant, Date%3E %7B%0A%0A    @Override%0A    public Date convertToDatabaseColumn(Instant date) %7B%0A        return Date.from(date);%0A    %7D%0A%0A    @Override%0A    public Instant convertToEntityAttribute(Date value) %7B%0A        return value.toInstant();%0A    %7D%0A%7D

fix date representation