core: remove global timezone hook.

- this is leaking into main application causing TZ problems
- fixes #5174
This commit is contained in:
Marcin Kuzminski 2017-01-23 16:55:50 +01:00
parent c340efddae
commit 3c07176dde

View file

@ -50,10 +50,6 @@ from rhodecode.lib.helpers import flash, link_to
from rhodecode.lib.utils2 import safe_unicode, safe_str
from rhodecode.tests.utils import get_session_from_response
# TODO: johbo: Solve time zone related issues and remove this tweak
os.environ['TZ'] = 'UTC'
if not is_windows:
time.tzset()
log = logging.getLogger(__name__)