Skip to content

Commit

Permalink
Reverted reverted changes in ExprDateTimeValue. Reverted change in Ex…
Browse files Browse the repository at this point in the history
…prDateValue.java for timestampValue to use systemDefault instead of UTC time.

Signed-off-by: MitchellGale-BitQuill <[email protected]>
  • Loading branch information
MitchellGale committed Oct 28, 2022
1 parent 157059f commit 77bd46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public LocalDateTime datetimeValue() {

@Override
public Instant timestampValue() {
return ZonedDateTime.of(date, timeValue(), ZoneId.of("UTC")).toInstant();
return ZonedDateTime.of(date, timeValue(), ZoneId.systemDefault()).toInstant();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public LocalTime timeValue() {

@Override
public Instant timestampValue() {
return ZonedDateTime.of(datetime, ZoneId.systemDefault()).toInstant();
return ZonedDateTime.of(datetime, ZoneId.of("UTC")).toInstant();
}

@Override
Expand Down

0 comments on commit 77bd46e

Please sign in to comment.