Slight bounds tweak for SPC outlook date parsing
This commit is contained in:
parent
dc3e915c19
commit
4a7cac0c0b
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class SPCOutlookParser():
|
|||
if hour == 12:
|
||||
hour = 0
|
||||
elif match['ampm'] == 'PM':
|
||||
if hour != 12:
|
||||
if hour < 12:
|
||||
hour += 12
|
||||
|
||||
tzoffset = TIMEZONES[match['tz'].upper()]
|
||||
|
|
Loading…
Add table
Reference in a new issue