Compare commits

...

2 Commits

Author SHA1 Message Date
Christian P. MOMON 4c28fe2dc7 Build 0.11.2 2021-03-05 01:52:01 +01:00
Christian P. MOMON 292b33d126 Fixed the displayed date of week (plus 6). 2021-03-05 01:50:28 +01:00
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Wed Jan 06 17:33:09 CET 2021
build.number=2
#Fri Mar 05 01:51:53 CET 2021
build.number=3

View File

@ -113,7 +113,10 @@ public class AgirStatoolUtils
LocalDate date = AgirStatoolUtils.normaliseWeekDate(start);
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
{
String label = date.format(DateTimeFormatter.ISO_DATE);
// The normalized date is set to the first day of the week.
// The displayed date is set to the last day of the week. So
// plus 6.
String label = date.plusDays(6).format(DateTimeFormatter.ISO_DATE);
result.add(label);
date = date.plusWeeks(1);
}