Skip to content

Commit 63053da

Browse files
committed
Merge remote-tracking branch 'origin/develop' into CLAP-324
2 parents ac14db4 + 146baa0 commit 63053da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/clap/server/domain/policy/task/TaskStatisticsPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private String formatDate(String dateString) {
3030
}
3131

3232
public Map<String, Long> formatDayStatistics(Map<String, Long> statistics) {
33-
for (int i = 0; i <= 23; i++) statistics.putIfAbsent(String.valueOf(i), 0L);
33+
for (int i = 0; i <= 23; i++) statistics.putIfAbsent(String.format("%02d", i), 0L);
3434

3535
return statistics.entrySet().stream()
3636
.collect(Collectors.toMap(

0 commit comments

Comments
 (0)