From 68273d63997a3da5ecdb834626592ee5873870d1 Mon Sep 17 00:00:00 2001 From: steveny91 Date: Wed, 30 Oct 2024 21:54:24 -0400 Subject: [PATCH] oops --- ibm_mq/datadog_checks/ibm_mq/stats/base_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm_mq/datadog_checks/ibm_mq/stats/base_stats.py b/ibm_mq/datadog_checks/ibm_mq/stats/base_stats.py index d93e591b4ac22..b7ee2cf2e7464 100644 --- a/ibm_mq/datadog_checks/ibm_mq/stats/base_stats.py +++ b/ibm_mq/datadog_checks/ibm_mq/stats/base_stats.py @@ -16,8 +16,8 @@ class BaseStats(object): - def __init__(self, raw_message): - self.start_datetime = self._parse_datetime(raw_message[MQCAMO_START_DATE], raw_message[MQCAMO_START_TIME]) + def __init__(self, raw_message, timezone=None): + self.start_datetime = self._parse_datetime(raw_message[MQCAMO_START_DATE], raw_message[MQCAMO_START_TIME], timezone=timezone) @staticmethod def _parse_datetime(raw_date, raw_time, timezone=None):