Skip to content
Snippets Groups Projects
Commit 3e8abf70 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #11271 TIME 0:10 update process limit date format

parent a5f0f2e7
No related branches found
No related tags found
No related merge requests found
...@@ -144,8 +144,6 @@ class IndexingController ...@@ -144,8 +144,6 @@ class IndexingController
$processLimitDate = IndexingController::calculateProcessDate(['date' => date('c'), 'delay' => $delay]); $processLimitDate = IndexingController::calculateProcessDate(['date' => date('c'), 'delay' => $delay]);
$processLimitDate = explode(' ', $processLimitDate);
return $response->withJson(['processLimitDate' => $processLimitDate[0]]); return $response->withJson(['processLimitDate' => $processLimitDate[0]]);
} }
...@@ -222,6 +220,6 @@ class IndexingController ...@@ -222,6 +220,6 @@ class IndexingController
$date->add(new \DateInterval("P{$args['delay']}D")); $date->add(new \DateInterval("P{$args['delay']}D"));
} }
return $date->format('Y-m-d H:i:s'); return $date->format('Y-m-d');
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment