houseabsolute / DateTime-Format-ISO8601

Parses ISO8601 formats
http://metacpan.org/release/DateTime-Format-ISO8601/
Other
3 stars 3 forks source link

Can't locate object method "year_length" via package "DateTime" #11

Closed eserte closed 3 years ago

eserte commented 3 years ago

The test suite fails on some of my smokers:

Can't locate object method "year_length" via package "DateTime" at /home/cpansand/.cpan/build/2020081520/DateTime-Format-ISO8601-0.13-0/blib/lib/DateTime/Format/ISO8601.pm line 1051, <DATA> line 1.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 after test #15.
# Seeded srand with seed '20200815' from local date.
t/base-datetime.t ...... 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 15 subtests passed 
... (etc) ...

Probably this happens if DateTime is too old:

****************************************************************
Regression 'mod:DateTime'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           0.0000          0.0000       1.17
[1='eq_1.36']         0.0000          0.0000       0.50
[2='eq_1.50']         1.0000          0.0000    4697787031687232.00
[3='eq_1.51']         1.0000          0.0000    5119294732350137.00
[4='eq_1.52']         1.0000          0.0000    5197286303049295.00

R^2= 1.000, N= 74, K= 5
****************************************************************
autarch commented 3 years ago

Thanks for the report. This is fixed in 0.14.