I'm giving this package a try because I need to convert numerals in strings to words (mainly for for numbers/years/currency). It seems like it would provide exactly what is needed. However, I am getting an error:
AttributeError: 'datetime' module has no attribute 'strptime'
It looks like maybe the cases.py script in the helpers directory should either include:
from datetime import datetime
or the function calls should look like:
datetime.datetime.strptime(date, "%Y-%m-%d")
See https://stackoverflow.com/questions/19480028/attributeerror-datetime-module-has-no-attribute-strptime
I'm giving this package a try because I need to convert numerals in strings to words (mainly for for numbers/years/currency). It seems like it would provide exactly what is needed. However, I am getting an error:
AttributeError: 'datetime' module has no attribute 'strptime'
It looks like maybe the cases.py script in the helpers directory should either include:
from datetime import datetime
or the function calls should look like:
datetime.datetime.strptime(date, "%Y-%m-%d")
See https://stackoverflow.com/questions/19480028/attributeerror-datetime-module-has-no-attribute-strptime