-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Description
$season = $repo->load(71712, 5); // The good doctor, current season
$episodes = $season->getEpisodes();
$episodes[5]->getAirDate(); // should be null, atm episodes 6-10 have no air-date
// currently the return value is a DateTime of 2021-09-21 19:31:17.648338 (which is the actual UTC time at the moment the code was run)
Here's the actual response from the TMDB Api
After doing some digging the problem is here (TMDB Api return empty string, but the inflator checks for null)
api/lib/Tmdb/Model/Tv/Episode.php
Line 167 in e330e8f
if (!$airDate instanceof DateTime && $airDate !== null) { |
Metadata
Metadata
Assignees
Labels
No labels