2012-10-12, 18:28
Here is how I worked around the issue in one add-on using time module -
Code:
try:
start_date = datetime.strptime(url, "%B %d, %Y - %A")
except TypeError:
start_date = datetime.fromtimestamp(time.mktime(time.strptime(url, "%B %d, %Y - %A")))