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
first of all I'd like to thank you for this nice maintained PHP library for accessing theTVDB.
I'm wondering however, if the current behaviour for creating a DateTime object based on the FirstAired field for episodes is correct. If there is a FirstAired, it creates the DateTime object just fine, but in my case I have a couple of series where the FirstAired field in xml is just empty...
This results in the DateTime object being initialized at the current time, which makes it rather annoying to compare against a previously stored value...
So my question is if this shouldn't be changed to something which indicates that there is no known value for this yet.
An example of the XML which doesn't contain an FirstAired element:
Hello,
first of all I'd like to thank you for this nice maintained PHP library for accessing theTVDB.
I'm wondering however, if the current behaviour for creating a DateTime object based on the FirstAired field for episodes is correct. If there is a FirstAired, it creates the DateTime object just fine, but in my case I have a couple of series where the FirstAired field in xml is just empty...
This results in the DateTime object being initialized at the current time, which makes it rather annoying to compare against a previously stored value...
So my question is if this shouldn't be changed to something which indicates that there is no known value for this yet.
An example of the XML which doesn't contain an FirstAired element:
The text was updated successfully, but these errors were encountered: