diff --git a/app/server.py b/app/server.py index 9f62e5a..f0f57a3 100644 --- a/app/server.py +++ b/app/server.py @@ -407,8 +407,10 @@ def jinja2_filter(app): @app.context_processor def inject_stage_and_region(): + now = arrow.now() return dict( - YEAR=arrow.now().year, + YEAR=now.year, + NOW=now, URL=URL, SENTRY_DSN=SENTRY_FRONT_END_DSN, VERSION=SHA1, diff --git a/app/templates/base.html b/app/templates/base.html index 3a94b82..f53a8ee 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -86,7 +86,7 @@