Don't see this behavior on my system...

perl -MPOSIX -le 'print scalar
localtime(mktime(0,0,2+24,4,9,108,0,0,-1))'
Sun Oct  5 02:00:00 2008

perl -MPOSIX -le 'print scalar
localtime(mktime(0,0,2+25,4,9,108,0,0,-1))'
Sun Oct  5 03:00:00 2008

I ran all of your examples and the times always agree between DateTime
and POSIX on my system.  Local time in my case does not use daylight
savings though.  So I would think the question should be, for your
timezone which result is correct, POSIX or DateTime?  Then someone will
have to look closer at the daylight savings rules/calculations for your
timezone in that module.  I just didn't see any mention of which you
thought was the correct value.

B

Reply via email to