<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">


<div class="ig-reservations-calendar-table  ym-grid block-left">
  <f:for each="{calendar.data}" as="day">
        <div class="ig-reservations-calendar-day calendar-date calendar-date-{day.date->f:format.date(format: '%Y-%m-%d')} calendar-col ig-inline {f:if(condition: '{day.date->f:format.date(format: \'%Y-%m-%d\')} == {f:format.date(date: \'now\', format: \'%Y-%m-%d\')}', then: ' today')}"
            data-date-format="{day.date->f:format.date(format: '%d.%m.%Y')}" data-date-day=" {day.date->f:format.date(format: '%A')}">
            <div class="calendar-header calendar-header-day">
                <f:format.date format="%A">{day.date}</f:format.date>
            </div>
            <div class="calendar-header calendar-header-date">
                {day.date->f:format.date(format: '%d.%m.%Y')}
            </div>
            <div class="calendar-entries">
                <f:for each="{day.entries}" as="event" iteration="timeslotIt">
                    <f:render partial="Calendar/Timeslot" arguments="{calendar: calendar, event: event, user: user, it: timeslotIt, eventClipboard: eventClipboard, date: day.date}" />
                </f:for>
            </div>
        </div>
    </f:for>
</div>

</html>
