Fix attempt to parse 5-digit times as time German dates

This commit is contained in:
Joshua Ramon Enslin 2020-09-22 11:23:21 +02:00 committed by Stefan Rohde-Enslin
parent b8dbfb32df
commit 707f781f1e

View File

@ -314,6 +314,7 @@ final class NodaTimeSplitter {
return []; return [];
} }
if (strlen($datum) <= 6) return [];
if (strlen($datum) <= 9) $use_day = false; if (strlen($datum) <= 9) $use_day = false;
else $use_day = true; else $use_day = true;