Skip to content

Releases: unt-libraries/edtf-validate

2.0.0

08 Nov 18:46
cce68fe

Choose a tag to compare

2.0.0

  • Updated from draft specification to official Extended Date/Time Format (EDTF) Specification released February 2019 (issue #22).
  • Added conformsLevel* functionality (issue #24).
  • Added '+/-' to fix a bug in zoneOffset to allow datetime ahead or behind UTC (issue #28).
  • Fixed ValueError in is_valid_interval when invalid datetime patterns are given (issue #27).

1.1.1

  • Fixed error on is_valid when checking an interval with a season.
  • In README.md, updated draft EDTF specification link to fix the 404.

1.1.0

17 Sep 15:43
c2af79b

Choose a tag to compare

  • Fixed an issue where some negative dates weren't validating under level 1 or level 2.
  • Modified tests to use pytest, and more specifically, parametrization. Makes it easier to identify what specific
    input is the cause of any failed test.
  • Added continuous integration.
  • Improved support for dates with "u".
  • Fixed an issue where level 0 dates validated as level 1 dates.
  • Support Python versions through 3.7.