fix multidate non esposto
This commit is contained in:
parent
575a6125f5
commit
89fec60de6
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -39,7 +39,7 @@ def fetch_events(api_endpoint):
|
|||
end_dt = datetime.datetime.fromtimestamp(event['end_datetime'])
|
||||
end_day = f"{day2giorno(start_dt.strftime('%A'))} {end_dt.strftime('%d')}"
|
||||
end_hour = end_dt.strftime("%H:%M")
|
||||
if event['multidate']:
|
||||
if event.get('multidate', False):
|
||||
when = f"da {when} a {end_day}"
|
||||
when += " alle "
|
||||
when += end_hour
|
||||
|
|
Loading…
Reference in a new issue