Fix date type
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
This commit is contained in:
parent
65b02bc11e
commit
fbb57e80de
|
|
@ -115,7 +115,7 @@ class SeasonDto
|
||||||
}
|
}
|
||||||
if ($seasonObj->getDateStart() !== null)
|
if ($seasonObj->getDateStart() !== null)
|
||||||
{
|
{
|
||||||
$this->dateStart = $seasonObj->getDateStart();
|
$this->dateStart = new \DateTime($seasonObj->getDateStart()->format('Y-m'));
|
||||||
}
|
}
|
||||||
$leagueObj = $seasonObj->getLeague();
|
$leagueObj = $seasonObj->getLeague();
|
||||||
if ($leagueObj !== null)
|
if ($leagueObj !== null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue