[B.END] Time format for events repetition

This commit is contained in:
giuliof 2020-04-18 00:20:34 +02:00
parent 5e391b9efa
commit 0443be0e54
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def getEvents(baseDay, interval):
if 'UNTIL' in options:
try:
fmt = "%Y%m%dT%H%M%SZ"
fmt = "%Y%m%dT%H%M%S"
repetition['until'] = dt.datetime.strptime(options['UNTIL'], fmt)
repetition['until'] = local_tz.localize(repetition['until'])
# Strip out time because is meaningless