2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-15 12:17:44 +00:00

Fix redfish event log

The date parsing refactor missed an
occurance of a call to parse_time.

Change-Id: I58cd5589b2ac9a2e8dd79976086cdf5a532a2cf1
This commit is contained in:
Jarrod Johnson 2019-05-28 10:09:37 -04:00
parent 710b12658c
commit caa03393fb

View File

@ -1078,7 +1078,7 @@ class Command(object):
currtime = bmcinfo.get('DateTime', None)
correction = timedelta(0)
if currtime:
currtime = _parse_time(currtime)
currtime = parse_time(currtime)
if currtime:
now = datetime.now(tz.tzoffset('', 0))
try: