We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462444f commit 31abefaCopy full SHA for 31abefa
1 file changed
babel/support.py
@@ -79,7 +79,7 @@ def time(self, time=None, format='medium'):
79
return format_time(time, format, tzinfo=self.tzinfo, locale=self.locale)
80
81
def timedelta(self, delta, granularity='second', threshold=.85,
82
- format='medium', add_direction=False):
+ format='long', add_direction=False):
83
"""Return a time delta according to the rules of the given locale.
84
85
>>> from datetime import timedelta
0 commit comments