diff --git a/aid/collect/base_collector.py b/aid/collect/base_collector.py index e5b2dde..f90e546 100644 --- a/aid/collect/base_collector.py +++ b/aid/collect/base_collector.py @@ -43,7 +43,7 @@ def run(self): except Exception as exc: # anything can happen logger.error(self.__class__.__name__, err_type=exc.__class__.__name__, msg=str(exc)) return - duration_seconds = (datetime.now() - start_time).total_seconds() + duration_seconds = (datetime.now(tz=DEFAULT_TIMEZONE) - start_time).total_seconds() logger.info( self.__class__.__name__, record_count=record_count,