Skip to content

Natural language parser returns date that parse_edtf does not accept #38

@blms

Description

@blms

The following raises an EDTFParseException:

from edtf import text_to_edtf, parse_edtf
parsed_natural = text_to_edtf('circa 17th century')  # returns "16xx~"
parse_edtf(parsed_natural)  # raises EDTFParseException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions