This commit is contained in:
James Cole 2017-12-02 06:42:00 +01:00
parent ab689111f9
commit 8eded63055
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

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