Improve type-safety

This commit is contained in:
2020-09-18 21:38:49 +02:00
committed by Stefan Rohde-Enslin
parent 4aa2a5df2f
commit c298794a32
2 changed files with 8 additions and 5 deletions

View File

@ -173,7 +173,7 @@ final class NodaTimeSplitter {
}
else if ($moda[0] === $moda[1] && trim($moda[2], " 0") !== "" && trim($moda[3], " 0") === "") {
setlocale(LC_TIME, NodaTimeAutotranslater::LANGS_TO_LOCALES['de']);
return strftime(getMonthFormatByLang("de"), strtotime("{$moda[0]}-{$moda[2]}-01 01:01:01"));
return strftime(getMonthFormatByLang("de"), MD_STD::strtotime("{$moda[0]}-{$moda[2]}-01 01:01:01"));
}
return "";