Adjust default event duration to be 30 minutes
This commit is contained in:
parent
826eafbc86
commit
cff981eb8b
|
@ -61,7 +61,7 @@ def build_events(events: list[Event]) -> list[dict[str, typing.Any]]:
|
|||
continue
|
||||
|
||||
if e.has_time:
|
||||
end = e.end_date or e.date + timedelta(hours=1)
|
||||
end = e.end_date or e.date + timedelta(minutes=30)
|
||||
else:
|
||||
end = (e.end_as_date if e.end_date else e.as_date) + one_day
|
||||
item = {
|
||||
|
|
Loading…
Reference in a new issue