Skip to content

gedcom datestrings to dates, including for ISO 8601 dates #25

Description

@andersbel

Some gedcom files have dates formatted in ISO 8601 format. Some genealogy software, for example Gramps, parses this correctly.
It would be nice if python-gedcom can parse datestrings to date objects, including datestrings in ISO 8601 format. Then several methods for working with dates become available without having to be implemented again.
The necessary functionality is available in Python 3.7 but forcing an upgrade to this version seems premature. Using the package python-dateutil seems to be a viable option. It can do all of this and is available for Python 2.7 and up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions