diff --git a/src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py b/src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py index 8bb87544f56..ee89cfad3cf 100644 --- a/src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py +++ b/src/DIRAC/TransformationSystem/Service/TransformationManagerHandler.py @@ -412,7 +412,7 @@ def export_getTasksToSubmit(self, transName, numTasks, site=""): submitDict = {} # Apply a delay to avoid race conditions - older = datetime.datetime.now() - datetime.timedelta(seconds=30) + older = datetime.datetime.utcnow() - datetime.timedelta(seconds=30) # Retrieve tasks that are ready for submission res = self.transformationDB.getTasksForSubmission(