diff --git a/main.py b/main.py index 9205976..56104ce 100644 --- a/main.py +++ b/main.py @@ -42,12 +42,12 @@ def process() -> Response: entry = Event() entry.add('description', component['description']) entry.add('dtstamp', component['dtstamp']) - # entry.add('dtstart', component['dtstart']) entry.add( 'dtstart', datetime.combine(component.decoded('dtstart'), time(0)) + timedelta(days=int(days), hours=int(hours), minutes=int(mins)), ) + entry.add('dtend', component['dtend']) entry.add('summary', component['summary']) entry.add('uid', component['uid'])