Allow automatic translations of days before 1000 CE
This commit is contained in:
@ -342,7 +342,9 @@ final class NodaTimeAutotranslater {
|
||||
return self::TRANSLATABLE_DECADE;
|
||||
}
|
||||
|
||||
if (intval($zeit_ende) < 0 && intval($zeit_beginn) < 0 || intval($zeit_ende) < 1000) {
|
||||
if (intval($zeit_ende) < 0 && intval($zeit_beginn) < 0
|
||||
|| (intval($zeit_ende) < 1000 and trim($zeit_zaehlzeit_monat, ", .0") === "")
|
||||
) {
|
||||
return self::TRANSLATABLE_AS_YEAR_WITH_SUFFIX;
|
||||
}
|
||||
if ($zeit_ende === $zeit_beginn and trim($zeit_zaehlzeit_monat, ", .0") === "") {
|
||||
|
Reference in New Issue
Block a user