Closed ToshY closed 1 year ago
Hi, you can get raw airdate by typecasting string to the DateRange
object
It's returned like that in the RESTAPI as well: https://github.com/jikan-me/jikan-rest/blob/16560d3634c6a9116ad7234985aa4e84a11bd683/app/Providers/SerializerFactory.php#L69
'string' => (string)$obj,
In this case you'd have to typecast the following property when getting it: https://github.com/jikan-me/jikan/blob/ff4200940e1ab11a282a769ad32705e43972e813/src/Model/Anime/Anime.php#L97
(string) $anime->getAired()
Totally missed that. Thanks @irfan-dahir !
Related to #486, following comment.