From b976baee3cad49d327227a1543241026862dc33e Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Tue, 28 Mar 2017 11:37:51 +0200 Subject: [PATCH] pybind/mgr/rest: don't set timezone to Chicago Setting TIME_ZONE in the Django app causes the timestamps printed in the mgr log to suddenly be wrong after the rest module starts up (unless, I imagine, if the host happens to be in Chicago). Signed-off-by: Tim Serong --- src/pybind/mgr/rest/app/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/rest/app/settings.py b/src/pybind/mgr/rest/app/settings.py index 333272a370a57..832ab3221d137 100644 --- a/src/pybind/mgr/rest/app/settings.py +++ b/src/pybind/mgr/rest/app/settings.py @@ -21,7 +21,7 @@ ALLOWED_HOSTS = ['*'] # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. # In a Windows environment this must be set to your system time zone. -TIME_ZONE = 'America/Chicago' +TIME_ZONE = None # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html -- 2.39.5