From 41723adc8946a3a586d0c47752520336ef2fb8be Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Wed, 22 Apr 2020 16:55:59 +0000 Subject: [PATCH] Fix date check in machine history display --- logs/templates/logs/machine_history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/templates/logs/machine_history.html b/logs/templates/logs/machine_history.html index e1c510ed..93e1817a 100644 --- a/logs/templates/logs/machine_history.html +++ b/logs/templates/logs/machine_history.html @@ -56,7 +56,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endif %} - {% if event.start_date %} + {% if event.end_date %} {{ event.end_date }} {% else %} {% trans "Now" %}