Offset end time too
This commit is contained in:
parent
d7510dd9cb
commit
cd38fb6b37
6
main.py
6
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'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue