Skip to content

Commit 31abefa

Browse files
committed
Correct default timedelta format to 'long'
Augments 9327e08
1 parent 462444f commit 31abefa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

babel/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def time(self, time=None, format='medium'):
7979
return format_time(time, format, tzinfo=self.tzinfo, locale=self.locale)
8080

8181
def timedelta(self, delta, granularity='second', threshold=.85,
82-
format='medium', add_direction=False):
82+
format='long', add_direction=False):
8383
"""Return a time delta according to the rules of the given locale.
8484
8585
>>> from datetime import timedelta

0 commit comments

Comments
 (0)