haskell / time

A time library

Home Page:http://hackage.haskell.org/package/time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test failure

AshleyYakeley opened this issue · comments

Failed in build.

format_parse_format.general.LocalTime

            LocalTime:                                                            FAIL (0.51s)
              *** Failed! expected Just "-100", found Nothing (after 25433 tests and 5 shrinks):
              %0f
              -9900-01-01 00:00:00
              Use --quickcheck-replay=256787 to reproduce.

The "century number" (y / 100 rounded down) for year -9900 is -100, which is more than two digits. Solution: test from -9899.

Fixed.