From cf298f261f839f988eab7438742590a263bd7ce5 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 7 Aug 2024 06:26:42 +0100 Subject: [PATCH] Bug fix --- web_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_view.py b/web_view.py index cbfeffd..4ceaeb2 100755 --- a/web_view.py +++ b/web_view.py @@ -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, )