[racket-dev] Test results are slightly incomprehensible...
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?
> * Windows gets it wrong. It thinks that US Mountain Time started
> daylight saving sometime in March ---- which is the right idea for
> the current DST calendar, but wrong for 1990.
>
> My guess is that timezone configuration in Windows cannot support
> different DST start-date rules for different years.
... and not under windows, I guess? :)
Robby
> I'll adjust the test, though I don't yet have a better idea than just
> removing it.
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev
>