Fix Month preview list

This commit is contained in:
Kekskurse 2019-07-07 14:11:43 +02:00
parent f6f7b5bdba
commit 57645d025b
2 changed files with 2 additions and 2 deletions

View file

@ -296,7 +296,7 @@ def list_days(number):
day = {}
date = start + datetime.timedelta(days=i)
day["date"] = str(date.day)+"."+str(date.month)+"."+str(date.year)
day["plan"] = function_getPlanForDay(number, date.year, date.month, date.day)
day["plan"] = function_getPlanName(function_getPlanForDay(number, date.year, date.month, date.day))
dayList.append(day)

View file

@ -9,7 +9,7 @@
{% for day in dayList %}
<tr>
<td>{{ day["date"] }}</td>
<td>{{ day["plan"] }}</td>
<td>{{ day["plan"]["name"] }}</td>
</tr>
{% endfor %}
</table>