diff --git a/wsgi.py b/wsgi.py index bf1fc9c..ef76d15 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,5 +1,8 @@ import datetime import io +import locale +import os +import time from itertools import chain from pathlib import Path @@ -19,7 +22,9 @@ config = { "CACHE_THRESHOLD": 50, "CACHE_DIR": "cache", } -import locale + +os.environ["TZ"] = "Europe/Berlin" +time.tzset() locale.setlocale(locale.LC_ALL, "de_DE.UTF-8") app = Flask(__name__)