HHH-17975: use the same precision (millis) for resolving revision timestamps from Instant as from LocalDateTime

This commit is contained in:
Florian Heck 2024-04-18 15:31:44 +02:00 committed by Christian Beikov
parent 6aa573004f
commit 6bca5a4960
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class RevisionTimestampValueResolver {
return instant;
}
else {
return instant.getEpochSecond();
return instant.toEpochMilli();
}
}
return null;