Merge "Use request.COOKIES to activate the timezone" into stable/ocata

This commit is contained in:
Jenkins 2017-07-28 08:50:26 +00:00 committed by Gerrit Code Review
commit 010bf65740
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class HorizonMiddleware(object):
}
)
tz = request.session.get('django_timezone')
tz = utils.get_timezone(request)
if tz:
timezone.activate(tz)