Skip to content

Commit

Permalink
Revert back accidental commit to grad-release
Browse files Browse the repository at this point in the history
  • Loading branch information
arybakov-cgi authored Jun 26, 2024
1 parent df91700 commit 4188655
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public LocalDate deserialize(JsonParser jsonParser, DeserializationContext deser
if(slashCount > 0) {
formatter = DateTimeFormatter.ofPattern(SECOND_DEFAULT_DATE_FORMAT);
}
return LocalDate.parse(dateAsString, formatter).with(TemporalAdjusters.lastDayOfMonth());
return LocalDate.parse(dateAsString, formatter);
} else if(jsonParser.hasToken(JsonToken.VALUE_NUMBER_INT)) {
long timestamp = jsonParser.getValueAsLong();
return LocalDate.ofInstant(Instant.ofEpochMilli(timestamp), ZoneId.systemDefault());
Expand Down

0 comments on commit 4188655

Please sign in to comment.