diff --git a/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java b/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java index d4d58bd..96b9b68 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java +++ b/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java @@ -528,7 +528,7 @@ public class ChartHtmlizer { for (YearWeek timestamp = startTarget; !timestamp.isAfter(endTarget); timestamp = timestamp.plusWeeks(1)) { - LocalDate date = timestamp.atDay(DayOfWeek.MONDAY).plusWeeks(1); + LocalDate date = timestamp.atDay(DayOfWeek.MONDAY).plusDays(6); String timestampLabel = date.format(DateTimeFormatter.ofPattern("yyyy-MMM-dd", Locale.FRANCE)); chart.getLabels().add(timestampLabel);