diff --git a/webapp_calendar.py b/webapp_calendar.py
index 3f6b3d041..f68bab1df 100644
--- a/webapp_calendar.py
+++ b/webapp_calendar.py
@@ -133,9 +133,11 @@ def _html_calendar_day(person_cache: {}, css_cache: {}, translate: {},
calendar_str += \
' \n'
+ datetime_str = str(year) + '-' + str(month_number) + '-' + str(day_number)
calendar_str += \
- ' ' + str(day_number) + ' ' + month_name + \
- '
' + str(year) + '\n'
+ '