Read 1917-ig. as similar to 1917-ig in time splitter

This commit is contained in:
Joshua Ramon Enslin 2020-12-28 14:40:04 +01:00
parent 6e910cd676
commit 8f612dede1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -842,7 +842,7 @@ final class NodaTimeSplitter {
return $output;
}
}
if (\preg_match("/\-ig$/", $datum)) {
if (\preg_match("/\-ig(\.|)$/", $datum)) {
if (($spacePos = strrpos($datum, "-")) === false) {
return [];
}