Slight bounds tweak for SPC outlook date parsing

This commit is contained in:
XANTRONIX 2025-03-16 12:53:06 -04:00
parent dc3e915c19
commit 4a7cac0c0b

View file

@ -219,7 +219,7 @@ class SPCOutlookParser():
if hour == 12: if hour == 12:
hour = 0 hour = 0
elif match['ampm'] == 'PM': elif match['ampm'] == 'PM':
if hour != 12: if hour < 12:
hour += 12 hour += 12
tzoffset = TIMEZONES[match['tz'].upper()] tzoffset = TIMEZONES[match['tz'].upper()]