+ {% set current_date = namespace(value='') %}
+ {% for entry in entries %}
+ {% set entry_date = entry.start_at.strftime('%A, %B %-d') if entry.start_at else 'Unknown' %}
+ {% if entry_date != current_date.value %}
+
+ {{ entry_date }}
+
+ {% set current_date.value = entry_date %}
+ {% endif %}
+
+
+ {% if entry.end_at is none %}
+
+ {% endif %}
+
+ {% if entry.project_name %}
+
{{ entry.project_name }}
+ {% endif %}
+ {% if entry.domain_name %}
+
+ {{ entry.domain_name }}
+
+ {% endif %}
+
+ {% if entry.end_at is none %}
+ running
+ {% elif entry.duration_minutes %}
+ {% if entry.duration_minutes >= 60 %}
+ {{ (entry.duration_minutes / 60) | int }}h {{ entry.duration_minutes % 60 }}m
+ {% else %}
+ {{ entry.duration_minutes }}m
+ {% endif %}
+ {% else %}
+ --
+ {% endif %}
+
+
+ {% if entry.start_at %}
+ {{ entry.start_at.strftime('%-I:%M %p') }}
+ {% if entry.end_at %}
+ - {{ entry.end_at.strftime('%-I:%M %p') }}
+ {% endif %}
+ {% endif %}
+
+
+
+
+
+ {% endfor %}
+
+{% else %}
+