From: Tim Serong Date: Tue, 28 Mar 2017 09:37:51 +0000 (+0200) Subject: pybind/mgr/rest: don't set timezone to Chicago X-Git-Tag: v12.0.2~268^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F14184%2Fhead;p=ceph.git 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 --- diff --git a/src/pybind/mgr/rest/app/settings.py b/src/pybind/mgr/rest/app/settings.py index 333272a370a..832ab3221d1 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