fix dump
This commit is contained in:
parent
9171ecbf6c
commit
0d9caea067
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user