[racket-dev] Test results are slightly incomprehensible...

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Sep 28 19:42:50 EDT 2011

At Wed, 28 Sep 2011 18:12:34 -0500, Robby Findler wrote:
> On Wed, Sep 28, 2011 at 6:04 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > At Wed, 28 Sep 2011 21:02:14 +0100, Paulo J. Matos wrote:
> >> Errors were:
> >> (Section (got expected (call)))
> >> ((date) ((638931660) Error (find-seconds 0 1 2 1 4 1990)))
> >
> > After looking into this, I conclude that the test is faulty, but that
> > it also highlights a bug/limitation on Windows:
> >
> >  * The test assumes that the current timezone had daylight saving time
> >   starting at what would have been 2:00am on April 4, 1990.
> >
> >   The test will fail on your machine if your timezone is set to a
> >   place with no or different DST rules (i.e., different than the
> >   standard US timezones).
> 
> Is there a way to check and see if the timezone is one of the US ones?

Not currently, but I guess I can add a way to get the current timezone
name.




Posted on the dev mailing list.