Ensure that string returned by time_since contains integers not floats
devel
Ronald 1 year ago
parent 6ae804cd15
commit d67a0ae76f

@ -143,7 +143,7 @@ def time_since(dt: datetime) -> str:
total_seconds = difference.total_seconds()
minutes = total_seconds // 60
minutes = int(total_seconds // 60)
seconds = int(total_seconds % 60)
if minutes > 0:

Loading…
Cancel
Save