diff --git a/src/NodaTimeSplitter.php b/src/NodaTimeSplitter.php index 6c6e66d..152004f 100644 --- a/src/NodaTimeSplitter.php +++ b/src/NodaTimeSplitter.php @@ -391,6 +391,12 @@ final class NodaTimeSplitter { } } + if (\preg_match("/^[0-9][0-9][0-9][0-9]\ bis [0-9][0-9][0-9][0-9]$/", $datum)) { + $start = \substr($datum, 0, 4); + $end = \substr($datum, -4); + return [$start, $end, "00", "00", "+", ""]; + } + $datum = \str_replace(". ", ".", $datum); if (self::stri_occurs($datum, self::STOP_STRINGS_GERMAN)) {