Fix broken time splitting for year ranges BC

This commit is contained in:
2024-05-04 01:17:33 +02:00
parent eb14615917
commit 7d303e219f
3 changed files with 23 additions and 1 deletions

View File

@ -330,6 +330,7 @@ final class NodaSplitTime {
$this->end_date = '9999-12-31';
}
if (!isset($this->start_date) && false !== $start_date) {
$this->start_date = date("Y-m-d", MD_STD::strtotime($start_date));
}