fix: age formatting
This commit is contained in:
		@@ -15,7 +15,7 @@ def age_as_hr_string(age: datetime.timedelta) -> str:
 | 
				
			|||||||
    months = age.days/30
 | 
					    months = age.days/30
 | 
				
			||||||
    years = age.days/365
 | 
					    years = age.days/365
 | 
				
			||||||
    if years >= 1:
 | 
					    if years >= 1:
 | 
				
			||||||
        return f'{years:.0f} Jahr{pluralize(years)} und {months:.0} Monat{pluralize(months)}'
 | 
					        return f'{years:.0f} Jahr{pluralize(years)} und {months:.0f} Monat{pluralize(months)}'
 | 
				
			||||||
    elif months >= 3:
 | 
					    elif months >= 3:
 | 
				
			||||||
        return f'{months:.0f} Monat{pluralize(months)}'
 | 
					        return f'{months:.0f} Monat{pluralize(months)}'
 | 
				
			||||||
    elif weeks >= 3:
 | 
					    elif weeks >= 3:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user