diff --git a/main.py b/main.py index 56104ce..24db799 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,11 @@ def process() -> Response: datetime.combine(component.decoded('dtstart'), time(0)) + timedelta(days=int(days), hours=int(hours), minutes=int(mins)), ) - entry.add('dtend', component['dtend']) + entry.add( + 'dtend', + datetime.combine(component.decoded('dtend'), time(0)) + + timedelta(days=int(days), hours=int(hours), minutes=int(mins)), + ) entry.add('summary', component['summary']) entry.add('uid', component['uid'])