diff --git a/main/templates/pages/statistic.html b/main/templates/pages/statistic.html
index 82b714a..120bb35 100644
--- a/main/templates/pages/statistic.html
+++ b/main/templates/pages/statistic.html
@@ -88,7 +88,11 @@
|
{% for date in log_stats.keys %}
+ {% if interval == 'days' %}
{{ date | date:'d.m' }} |
+ {% else %}
+ {{ date.1 | date:'F' }} |
+ {% endif %}
{% endfor %}
diff --git a/main/views.py b/main/views.py
index d79eec5..c3c5e9c 100644
--- a/main/views.py
+++ b/main/views.py
@@ -447,6 +447,7 @@ def statistic_page(request: WSGIRequest) -> HttpResponse:
context['errors'] = data.errors
if data.warnings:
context['warnings'] = data.warnings
+ context['interval'] = data.interval
context['log_stats'] = stats if not context['errors'] else None
elif request.method == 'GET':
form = StatisticForm()