Skip to content

Datetime Error #5

@hstricklanducsd

Description

@hstricklanducsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions