Skip to content

Bugs: ISO date handling (0.28.1) #37

Open

Description

@otsobide

Defects in IsoDate (0.28.1; reproduced). Fixed by the new temporal.py family (Date, DateTime); every item gets a regression test and is ticked when the fix lands.

  • C24 IsoDate validity depends on the Python version (datetime.fromisoformat grammar changed in 3.11 and 3.14): '20230815', 'T24:00' and the Z suffix are accepted on some versions and rejected on others, and any separator character is accepted.
  • C47 The README example IsoDate('2023-08-15T04:55:12.076Z') raises on Python 3.9/3.10; the tests cannot detect version-dependent behaviour.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions