Skip to content

Commit aef084b

Browse files
committed
CLAP-328 Fix : 통계 기간별 요청, 처리량 응답 양식 수정
<footer> - 관련: #411
1 parent d415e90 commit aef084b

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)