Subject: | test t20infinite.t failed on Linux mandrake 9.0 |
The test t/infinite20.t (DateTime-1601 with perl 5.8.0) failed at line 53 and then at line 61 (certainly because of the first failure). I added a debug line after line 53:
print STDERR "\nlong_ago=",$long_ago->ymd,"\nneg_dur=",$neg_dur->deltas,"\nneg2=",$neg2->ymd,"\nneg=",$neg->ymd,"\n\n";
and I get the following output:
t/20infinite............ok 8/40
long_ago=-100000-01-01
neg_dur=months0days-infminutes0secondsnannanoseconds-inf
neg2=-0001--01--01
neg=-2147483648--2147483648--2147483648
There is certainly a misinterpretation of -infinite time, is negative enough or should it be -inf--inf--inf ?
Ghislain Picard