diff --git a/main/templates/pages/statistic.html b/main/templates/pages/statistic.html
index b467250..202d8f2 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 }} |
+ {% endif %}
{% endfor %}
diff --git a/main/views.py b/main/views.py
index 69fdd92..5c02a65 100644
--- a/main/views.py
+++ b/main/views.py
@@ -381,6 +381,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()