Skip to content

Commit

Permalink
Fix date parse for yyyy-MM-ddTHH:mm:ss pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
arybakov-cgi committed Jul 24, 2023
1 parent c06d80c commit 6e35206
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public void setBirthdate(LocalDate value) {
this.birthdate = value;
}

@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
public LocalDateTime getLastUpdateDate() {
return lastUpdateDate;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import ca.bc.gov.educ.api.distribution.util.GradLocalDateDeserializer;
import ca.bc.gov.educ.api.distribution.util.GradLocalDateSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
Expand Down Expand Up @@ -30,7 +29,6 @@ public class StudentCredentialDistribution {
@JsonDeserialize(using = GradLocalDateDeserializer.class)
@JsonSerialize(using = GradLocalDateSerializer.class)
private LocalDate programCompletionDate;
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
private LocalDateTime lastUpdateDate;
private String honoursStanding;
private String program;
Expand Down

0 comments on commit 6e35206

Please sign in to comment.