| Ok, to be more precise, my tests (which I actually revised last night) highlight two distinct issues. One issue is that the offset information is not preserved. I guess that is what you mean is supposedly by design. As far as I am concerned, this is a minor issue, as long as the correct instant in time is persisted. The more pressing issue is that an incorrect instance in time is persisted, unless the system time zone is set to UTC. I'm pretty sure that can't be by design. This should never fail, but it does unless the system time zone is UTC: ``` OffsetDateTime epochInNy = OffsetDateTime.now(Clock.fixed(Instant.EPOCH, ZoneId.of("America/New_York"))); EntityWithOffsetTimestamp entity = new EntityWithOffsetTimestamp(0, epochInNy); // ... persist and refresh ... assertThat("Persisted time should be the same as instant the original", entity.getCreatedAt().toInstant(), equalTo(epochInNy.toInstant())); ``` |