# Teaching calendar for {{ period }} {{ year }} {%- for week, date in weeks.items() %} {% if date|isteaching %}Week {{ week|pad(2) }}:{% elif date|isbreak %}Break :{% else %}WTF???{% endif %} {{ date.isoformat() }} — {{ (date + eow_offset).isoformat() }} {%- endfor %}