Skip to content

Commit c695e86

Browse files
authored
Merge pull request #43 from computate/computate
Fixing bugs with facet range queries and switched the defaultRangeGap from DAY to HOUR
2 parents f95b619 + 3c4de6d commit c695e86

File tree

2 files changed

+80
-71
lines changed

2 files changed

+80
-71
lines changed

src/main/java/org/computate/frFR/java/EcrireApiClasse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ public void ecrireGenApiServiceImpl4(String classeLangueNom) throws Exception {
45504550
tl(6, "max = max.plus(2, ChronoUnit.DAYS);");
45514551
tl(5, "}");
45524552
tl(5, "Duration duration = Duration.between(min, max);");
4553-
tl(5, "String gap = \"DAY\";");
4553+
tl(5, "String gap = \"HOUR\";");
45544554
tl(5, "if(duration.toDays() >= 365)");
45554555
tl(6, "gap = \"YEAR\";");
45564556
tl(5, "else if(duration.toDays() >= 28)");

0 commit comments

Comments
 (0)