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

The publish_date member should be a datetime object #72

Closed
dlrobertson opened this issue Aug 20, 2018 · 1 comment · Fixed by #73
Closed

The publish_date member should be a datetime object #72

dlrobertson opened this issue Aug 20, 2018 · 1 comment · Fixed by #73
Assignees

Comments

@dlrobertson
Copy link
Contributor

The article.publish_date member should be a datetime object. There are several libraries that parse out dates from strings. I've used python-dateutil in the past.

@barrust
Copy link
Collaborator

barrust commented Aug 26, 2018

I personally dislike breaking current code; would adding a new property that is converted to a python datetime be appropriate? I too have used python-dateutil and think that would be a good option here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants