Bug fix
This commit is contained in:
parent
23aa70bb84
commit
cf298f261f
|
@ -121,6 +121,7 @@ async def calendar_page() -> str:
|
|||
@app.route("/recent")
|
||||
async def recent() -> str:
|
||||
"""Index page."""
|
||||
t0 = time.time()
|
||||
now = datetime.now()
|
||||
data = await agenda.data.get_data(now, app.config)
|
||||
|
||||
|
@ -139,6 +140,7 @@ async def recent() -> str:
|
|||
fullcalendar_events=calendar.build_events(events),
|
||||
start_event_list=date.today() - timedelta(days=14),
|
||||
end_event_list=date.today(),
|
||||
render_time=(time.time() - t0),
|
||||
**data,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue