You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$title = new \Imdb\Title(5011816); echo $title->year(); echo $title->endyear();
Output: 20152015
Both return 2015, which is incorrect. endyear() should not be 2015 because the series has not ended yet. Same goes for yearspan(): Array ( [start] => 2015 [end] => 2015 )
The text was updated successfully, but these errors were encountered:
There are actually some tv-shows that spans over only one year like Cupid. So that code got written for those cases. I have now modified it in case a tv-show haven't finished yet.
For example Sneaky Pete.
$title = new \Imdb\Title(5011816); echo $title->year(); echo $title->endyear();
Output:
20152015
Both return 2015, which is incorrect. endyear() should not be 2015 because the series has not ended yet. Same goes for yearspan():
Array ( [start] => 2015 [end] => 2015 )
The text was updated successfully, but these errors were encountered: