fixup: set a default value for the local

This commit is contained in:
tcely 2025-06-08 06:50:47 -04:00 committed by GitHub
parent 54932f4951
commit 9575185bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ def timedelta(value, arg=None, /, *, fmt_2=None):
else:
seconds_total = value
dynamic_arg = False
if arg is None:
if seconds_total < 1.0:
return f'{seconds_total:.6f} seconds'