diff --git a/src/NodaTimeAutotranslater.php b/src/NodaTimeAutotranslater.php index 39a4445..ccd5c1b 100644 --- a/src/NodaTimeAutotranslater.php +++ b/src/NodaTimeAutotranslater.php @@ -754,7 +754,7 @@ final class NodaTimeAutotranslater { */ public static function getTranslations(array $timeInfo):array { - if (!empty($timespanDates = NodaTimeSplitter::attempt_splitting_from_till((string)$timeInfo['zeit_name']))) { + if (!empty($timeInfo['zeit_name']) and strlen((string)$timeInfo['zeit_name']) > 10 and !empty($timespanDates = NodaTimeSplitter::attempt_splitting_from_till((string)$timeInfo['zeit_name']))) { $output = [];