Skip to content

Commit

Permalink
Update SeasonController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir authored Nov 25, 2022
1 parent b490c0a commit 334fd9a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/Http/Controllers/V4DB/SeasonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,5 @@ private function getSeasonRange(int $year, string $season) : array
'from' => Carbon::createFromDate($year, $monthStart, 1)->toAtomString(),
'to' => Carbon::createFromDate($year, $monthEnd, 1)->modify('last day of this month')->toAtomString()
];

// return [
// 'from' => (new \DateTime())->setDate($year, $monthStart, 1)->format(\DateTimeInterface::ATOM),
// 'to' => (new \DateTime())->setDate($year, $monthEnd, 1)->modify('last day of this month')->format(\DateTimeInterface::ATOM)
// ];
}
}

0 comments on commit 334fd9a

Please sign in to comment.