old-time.git/tests/time004.hs is DST-sensitive :-/

Herbert Valerio Riedel hvr at gnu.org
Sun Oct 27 10:03:41 UTC 2013

Hi *,

if anyone wonders, why TEST=time004 suddenly fails: it's sensitive to
DST (and depends on your system's TZ-config):


For me, the comparison this unit-test checks now suddenly fails, because
the DST-switch occurs on different days in 2012 and 2013 in my TZ, i.e.

  length "Sun Oct 27 10:56:42 CET 2013" /= length "Sat Oct 27 11:56:42 CEST 2012"

Does anyone happen to know what the rationale behind this 'time004' unit
test was?


More information about the ghc-devs mailing list