Skip to content

Commit

Permalink
Add test for issue 798
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Apr 20, 2022
1 parent 61109c4 commit 2a3d05a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_dates.py
Expand Up @@ -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'

0 comments on commit 2a3d05a

Please sign in to comment.