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
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.
The text was updated successfully, but these errors were encountered:
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.
The
article.publish_date
member should be a datetime object. There are several libraries that parse out dates from strings. I've usedpython-dateutil
in the past.The text was updated successfully, but these errors were encountered: