This commit is contained in:
afornerot 2024-06-15 11:04:50 +02:00
parent 9171ecbf6c
commit 0d9caea067
1 changed files with 0 additions and 4 deletions

View File

@ -236,7 +236,6 @@ class ScrumRepository extends ServiceEntityRepository
}
if($fgissueupdated) {
dump(json_decode(json_encode($giteaissue), true)["updated_at"]);
$updateissue=new \DateTime(json_decode(json_encode($giteaissue), true)["updated_at"]);
$updateissue->setTimezone(new \DateTimeZone("UTC"));
array_push($updatedates,$updateissue);
@ -258,7 +257,6 @@ class ScrumRepository extends ServiceEntityRepository
$this->showtime(false,"Traiter les issues");
if($fgscrumupdate) {
dump($updatedates);
// Convertir les objets DateTime en timestamps
$timestamps = array_map(function($date) {
return $date->getTimestamp();
@ -271,8 +269,6 @@ class ScrumRepository extends ServiceEntityRepository
$mostRecentDate = (new \DateTime())->setTimestamp($mostRecentTimestamp);
// Mettre à jour la date update du scrum
dump($mostRecentDate);
dump("pouet");
$scrum->setUpdatedate($mostRecentDate);
$this->_em->flush();