fix grouping logic

master
root 2 years ago
parent 0a50822679
commit d0261bb713

@ -112,7 +112,7 @@ foreach($list as $line) {
$dayGroup[] = $line; $dayGroup[] = $line;
} else { } else {
$grouped[] = $dayGroup; $grouped[] = $dayGroup;
$dayGroup = []; $dayGroup = [$line];
$lastDay = $dayStr; $lastDay = $dayStr;
} }
} }

Loading…
Cancel
Save