Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse and convert firstaired dates to datetime.datetime() objects #53

Open
poxip opened this issue Nov 29, 2015 · 2 comments
Open

Parse and convert firstaired dates to datetime.datetime() objects #53

poxip opened this issue Nov 29, 2015 · 2 comments
Milestone

Comments

@poxip
Copy link

poxip commented Nov 29, 2015

The firstaired dates could be parsed and converted to Python datetime.datetime() objects, which's sometimes helpful a bit.

@dbr
Copy link
Owner

dbr commented Jan 24, 2018

In the old XML API, the air-dates were an arbitrary string so was impossible to reliably parse, hopefully the new JSON'y API returns the dates in a consistent and this should be easy

@dbr
Copy link
Owner

dbr commented May 10, 2020

The JSON API appears to give the datestamp in a consistent format, 2001-10-16, so this should be doable

This would break the API compatibility quite a bit so would likely have to wait till a future revision

@dbr dbr added this to the v4.0 milestone Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants