summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_dates.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_dates.py b/tests/test_dates.py
index 143ea3f..9367466 100644
--- a/tests/test_dates.py
+++ b/tests/test_dates.py
@@ -873,3 +873,7 @@ def test_en_gb_first_weekday():
assert Locale.parse('en').first_week_day == 0 # Monday in general
assert Locale.parse('en_US').first_week_day == 6 # Sunday in the US
assert Locale.parse('en_GB').first_week_day == 0 # Monday in the UK
+
+
+def test_issue_798():
+ assert dates.format_timedelta(timedelta(), format='narrow', locale='es_US') == '0s'