This commit is contained in:
James Cole
2017-12-02 06:42:00 +01:00
parent ab689111f9
commit 8eded63055

View File

@@ -146,7 +146,7 @@
<!-- render vertical line with text "today" --> <!-- render vertical line with text "today" -->
{% if start.lte(today) and end.gte(today) %} {% if start.lte(today) and end.gte(today) %}
var today = {{ today.day }}; var today = {{ today.diffInDays(start) + 1 }};
{% else %} {% else %}
var today = -1; var today = -1;
{% endif %} {% endif %}