Skip to content

python-edtf module doesn't follow the latest draft revision of the EDTF spec #24

@apeters

Description

@apeters

The latest spec can be found here:
http://www.loc.gov/standards/datetime/ISO_DIS%208601-2.pdf

Here are some differences I've noticed between the current implementation and the latest spec. (this list may not be complete):

  1. use of % to mean both uncertain and approximate (see 4.2 Uncertain and/or approximate date)
  2. use of capital X instead of lowercase u for unspecified digits (see 4.3 Unspecified)
  3. use of a blank instead of the keyword unknown (see 4.4 Enhanced time interval)
  4. use of .. instead of the keyword open (see 4.4 Enhanced time interval)
  5. use of a capital Y instead of a lowercase y (see 4.5 Year exceeding four digits)
  6. use of uppercase S instead of lowercase p to express significance (see 4.6 Significant digits)
  7. there's also a whole section on recurring dates that may or may not be applicable (see 5 Repeat rules for recurring time intervals)

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