diff --git a/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task_manager.py b/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task_manager.py index eaaaca87..482c7fbd 100644 --- a/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task_manager.py +++ b/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task_manager.py @@ -3,6 +3,7 @@ ''' import os +import isodate import json import time import uuid @@ -10,7 +11,6 @@ from .api_filters import ApiFilters from .api_connect import ApiConnect import datetime -from dateutil.parser import isoparse from ...utilities.logging_utils import LoggingUtils import logging @@ -533,9 +533,7 @@ def _iso_to_ts(self, iso_str): return #ensure no microseconds for strptime to work - dt = isoparse(iso_str) - return dt.timestamp() - + return isodate.parse_datetime(iso_str).timestamp() def _ts_to_iso(self, ts): if not ts: