diff --git a/src/components/reports/reportUtils.js b/src/components/reports/reportUtils.js index 0e46657bb..84cf6097d 100644 --- a/src/components/reports/reportUtils.js +++ b/src/components/reports/reportUtils.js @@ -19,7 +19,7 @@ export const parseReport = (headers, csvRows, blockColumn, timeRange) => { const dateItems = date.split('.') - const currentDate = new Date(dateItems[2], dateItems[1], dateItems[0]) + const currentDate = new Date(dateItems[2], dateItems[1] - 1, dateItems[0]) if (currentDate >= startDate && currentDate <= endDate) { return kylkDates.add({ date: date.trim(), current: currentDate })