summaryrefslogtreecommitdiff
path: root/tests/test_util_i18n.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util_i18n.py')
-rw-r--r--tests/test_util_i18n.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py
index d6f631175..180350e86 100644
--- a/tests/test_util_i18n.py
+++ b/tests/test_util_i18n.py
@@ -88,6 +88,8 @@ def test_format_date():
assert i18n.format_date(format, date=date) == 'Feb 7, 2016'
# timezone
+ format = '%Z'
+ assert i18n.format_date(format, date=datet) == 'UTC'
format = '%z'
assert i18n.format_date(format, date=datet) == '+0000'