This commit is contained in:
Joshua Ramon Enslin 2020-09-20 18:32:48 +02:00 committed by Stefan Rohde-Enslin
parent d1c9e6e15f
commit ce6e388866

View File

@ -170,8 +170,8 @@ final class NodaTimeAutotranslater {
return self::TRANSLATABLE_AS_YEAR_WITH_SUFFIX;
}
// Conditions speaking against translatability.
else if (trim($zeit_zaehlzeit_monat, ", .0") === "") {
$output = self::TRANSLATABLE_NOT;
if (trim($zeit_zaehlzeit_monat, ", .0") === "") {
return self::TRANSLATABLE_NOT;
}
return self::TRANSLATABLE_AS_MONTH_DAY;