diff --git a/classes/ETL/Aggregator/pdoAggregator.php b/classes/ETL/Aggregator/pdoAggregator.php index 58c30830dc..fe048a9f80 100644 --- a/classes/ETL/Aggregator/pdoAggregator.php +++ b/classes/ETL/Aggregator/pdoAggregator.php @@ -1221,7 +1221,7 @@ protected function processAggregationPeriods( $numPeriodsProcessed++; $periodDisplay = $periodId; if ( 'day' === $aggregationUnit ) { - $dayDateTime = \DateTime::createFromFormat('Y00z', $periodId); + $dayDateTime = \DateTime::createFromFormat('Y00z', $periodId - 1); $periodDisplay .= ' ' . $dayDateTime->format('d m Y'); } $this->logger->info("Aggregated $aggregationUnit ("