-
-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
So you end up with a "now" DateTime object.
It probably concerns all the dates (air date, release date, etc.)
api/lib/Tmdb/Model/Tv/Episode.php
Lines 165 to 174 in a06a985
| public function setAirDate($airDate) | |
| { | |
| if (!$airDate instanceof DateTime) { | |
| $airDate = new DateTime($airDate); | |
| } | |
| $this->airDate = $airDate; | |
| return $this; | |
| } |
["airDate":"Tmdb\Model\Tv\Episode":private]=>
object(DateTime)#1912 (3) {
["date"]=> string(26) "2021-01-16 18:43:34.404752"
["timezone_type"]=> int(3)
["timezone"]=> string(3) "UTC"
}
It is basically the #180 issue but on the rest of the dates.
Regards
Metadata
Metadata
Assignees
Labels
No labels