Skip to content

Commit c0fafed

Browse files
committed
fix: pinned timezone in tests
1 parent 1cb7346 commit c0fafed

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test_settings.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@
2222

2323
ROOT_URLCONF = "test_urls"
2424

25+
# Internationalization
26+
# https://docs.djangoproject.com/en/1.11/topics/i18n/
27+
28+
LANGUAGE_CODE = "en-us"
29+
30+
TIME_ZONE = "UTC"
31+
32+
USE_I18N = True
33+
34+
USE_L10N = True
35+
36+
USE_TZ = True
37+
2538

2639
# Basic settings required for the app
2740
REST_EMAIL_AUTH = {

0 commit comments

Comments
 (0)