Fix Month preview list
This commit is contained in:
parent
f6f7b5bdba
commit
57645d025b
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue