Skip to content

Commit

Permalink
Allow more than JSON date format
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Dec 12, 2023
1 parent 7ffbdea commit 4e89eb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/computate/frFR/java/IndexerClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -4092,19 +4092,19 @@ else if(StringUtils.equalsAny(entiteNomCanonique, VAL_nomCanoniqueTimestamp, VAL
if(entiteFormatHtm == null) {
if(StringUtils.equals(entiteNomCanonique, VAL_nomCanoniqueTimestamp)) {
entiteFormatHtm = "yyyy-MM-dd'T'HH:mm:ss.SSS";
entiteFormatJson = "date-time";
// entiteFormatJson = "date-time";
}
else if(StringUtils.equals(entiteNomCanonique, VAL_nomCanoniqueLocalDateTime)) {
entiteFormatHtm = "yyyy-MM-dd'T'HH:mm:ss.SSS";
entiteFormatJson = "date-time";
// entiteFormatJson = "date-time";
}
else if(StringUtils.equals(entiteNomCanonique, VAL_nomCanoniqueDate)) {
entiteFormatHtm = "yyyy-MM-dd'T'HH:mm:ss.SSS";
entiteFormatJson = "date";
// entiteFormatJson = "date";
}
else if(StringUtils.equals(entiteNomCanonique, VAL_nomCanoniqueZonedDateTime)) {
entiteFormatHtm = "yyyy-MM-dd'T'HH:mm:ss.SSS'['VV']'";
entiteFormatJson = "date-time";
// entiteFormatJson = "date-time";
}
}
}
Expand Down

0 comments on commit 4e89eb5

Please sign in to comment.