Time splitter: Handle first/second half

Close #31
This commit is contained in:
2025-04-05 00:09:39 +02:00
parent 8491b62a83
commit e8edb4a459
3 changed files with 25 additions and 2 deletions

View File

@ -509,6 +509,18 @@ final class NodaTimeSplitterTest extends TestCase {
"counting_time_day" => "01",
"counting_time_bcce" => "+",
],
"1. Halbjahr 1950" => [
'start_name' => "Januar 1950",
'end_name' => "Juni 1950",
"start_year" => '1950',
"end_year" => '1950',
'start_date' => '1950-01-01',
'end_date' => '1950-06-31',
"counting_time_year" => "1950",
"counting_time_month" => "04",
"counting_time_day" => "02",
"counting_time_bcce" => "+",
],
] as $in => $out) {
$output[$in] = [$in, $out];
}