|Keep It Simple, Stupid|
Date::Calc DST - is this a bug?by fbicknel (Beadle)
|on Dec 11, 2012 at 20:57 UTC||Need Help??|
fbicknel has asked for the
wisdom of the Perl Monks concerning the following question:
See my reply to myself.... but I'll leave this here as a model of what not to do. *blush*
Is this a bug or is it not documented properly?
Documentation for Gmtime() says:
This isn't clear: if it means "dst is in effect NOW on your system", then it accurately depicts what happens when you try this code:
Note the last $dst value in each list returned is always 0. My guess is that if I wait about 6 months and try again, it will always return 1.