commit | 350a772469155602b4635df7699baea087fafeab | [log] [tgz] |
---|---|---|
author | Dmitry Stremkovskiy <dstremkouski@mirantis.com> | Sun Jul 30 19:05:42 2017 +0300 |
committer | Dmitry Stremkovskiy <dstremkouski@mirantis.com> | Sun Jul 30 19:05:54 2017 +0300 |
tree | 58dbf8c0bef31ccb4f66852032d5132e9e6f8424 | |
parent | 5824746a731cf656ae5332f1b2c97c794cef8496 [diff] |
Adding ability to set timezone in horizon Change-Id: I5d9c9ece556a9d54c9f2db22c838b51e107f8cbb
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py index 6dc19a5..fb340bc 100644 --- a/horizon/files/horizon_settings/_local_settings.py +++ b/horizon/files/horizon_settings/_local_settings.py
@@ -62,7 +62,7 @@ # The timezone of the server. This should correspond with the timezone # of your entire OpenStack installation, and hopefully be in UTC. -TIME_ZONE = "UTC" +TIME_ZONE = "{{ server.get('timezone', 'UTC') }}" COMPRESS_OFFLINE = True