-
Couldn't load subscription status.
- Fork 461
Open
Description
Would it be possible to return more than just one unit for passed timedelta object?
For example:
>>> format_timedelta(timedelta(days=2, hours=5, minutes=2, seconds=5), granularity=3)
'2 days, 5 hours, and 2 minutes'Note: granularity is already used for something else in format_timedelta(), so that kwarg would need to be called differently, I just couldn't think of better name.
xmo-odoo and aelkheir
Metadata
Metadata
Assignees
Labels
No labels