From c38951cf541eaf99b065607063b81a9566a7f252 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 8 Aug 2020 22:09:59 +0200 Subject: [PATCH] Force timezone for docs --- docs/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index e9a330a7..1e5bd90a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -15,7 +15,7 @@ # import os # import sys # sys.path.insert(0, os.path.abspath(".")) -import sphinx_rtd_theme +import os, time, sphinx_rtd_theme # -- Project information ----------------------------------------------------- @@ -31,6 +31,9 @@ release = "0.11.0" # -- General configuration --------------------------------------------------- +os.environ["TZ"] = "Europe/Oslo" +time.tzset() + # needs_sphinx = "1.0" extensions = [ "sphinx_rtd_theme",