Commit 688235e7 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

context_processors: Convert tucal_year to string

This prevents integer localization.

Closes #7
parent 9922f2d6
Pipeline #10436 passed with stage
in 9 seconds
......@@ -22,7 +22,7 @@ def tucal(request):
'tucal_haupttitel': getattr(settings, 'TUCAL_HAUPTTITEL', ''),
'tucal_autor': getattr(settings, 'TUCAL_AUTOR', 'Webmaster'),
'tucal_impressum': getattr(settings, 'TUCAL_IMPRESSUM', '//'),
'tucal_year': "{}".format(,
'tucal_language_uri': language_uri,
#default hash: webmaster@
'tucal_mailhash': getattr(settings, 'TUCAL_MAIL_HASH', '1-d2VibWFzdGVyQA=='),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment