Skip to content

expandedYearMonthFormat: +000000-100 is parsed incorrectly #43

@9999years

Description

@9999years

Reproduced on GHC 9.6 and 9.10:

$ cabal test --test-options="--quickcheck-replay=855626 -p /expandedYearMonthFormat/"
...
Time
  Format
    ISO8601
      read-show format
        expandedYearMonthFormat: FAIL
          *** Failed! "+000000-100": expected Just (0,100), found Nothing (after 100 tests and 2 shrinks):
          (0,100)
          Use --quickcheck-replay="(SMGen 18001161169210587655 15266913731524793345,100)" to reproduce.

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