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 7218d9c262
commit e8f743993f
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;