From caa03393fb072795da8bce6e66395a4a2163534d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 28 May 2019 10:09:37 -0400 Subject: [PATCH] Fix redfish event log The date parsing refactor missed an occurance of a call to parse_time. Change-Id: I58cd5589b2ac9a2e8dd79976086cdf5a532a2cf1 --- pyghmi/redfish/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 057f98cf..989b2591 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -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: