fixed typo in timedelta
This commit is contained in:
parent
bc0d239a1f
commit
76a907c586
@ -25,7 +25,7 @@ def get_subtitle():
|
|||||||
"""find Wednesday of the current/next week"""
|
"""find Wednesday of the current/next week"""
|
||||||
today = date.today()
|
today = date.today()
|
||||||
if today.weekday() > 2:
|
if today.weekday() > 2:
|
||||||
wednesday = today + tiemdelta(9 - today.weekday())
|
wednesday = today + timedelta(9 - today.weekday())
|
||||||
else:
|
else:
|
||||||
wednesday = today + timedelta(2 - today.weekday())
|
wednesday = today + timedelta(2 - today.weekday())
|
||||||
return wednesday.strftime('Bible Study %A %B %#d, %Y')
|
return wednesday.strftime('Bible Study %A %B %#d, %Y')
|
||||||
|
Loading…
Reference in New Issue
Block a user