[B.END] Time format for events repetition
This commit is contained in:
parent
5e391b9efa
commit
0443be0e54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue