Time::Piece

Matts on 2003-06-18T07:55:26

Can people with some different platforms (Linux, Windows, Mac OS X) please test Time::Piece 2.00_01 for me? I'd like to release it (it's labeled "beta" with the underscore) but I'm not sure it's stable yet on all platforms.

Time::Piece 2.00 is basically a port of Time::Piece to be ISA DateTime, so that Time::Piece and DateTime applications can work together, and also so that Time::Piece supports dates beyond 2038 and before 1970.

Thanks!


Ok here!

Dom2 on 2003-06-18T08:52:20

perl 5.8.0, FreeBSD 5.1

% make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base........ok
t/02core........ok
t/03compare.....ok
t/04mjd...... ...ok
t/05overload....ok
t/06large.......ok
All tests successful.
Files=6, Tests=363,  4 wallclock secs ( 1.73 cusr +  0.32 csys =  2.05 CPU)

-Dom

Hmm

vek on 2003-06-18T13:13:36

Just for grins I thought I'd try it out on my wife's WinXP box (Perl 5.6.1) - no go I'm afraid (but not because of Time::Piece). Couldn't get past nmake for DateTime unfortunately:

DateTime.obj: error LNK2001: unresolved external symbol_finite
blib\arch\auto\DateTime\DateTime.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

I'll see if there are any hints on the DateTime mailing list.

Re:Hmm

autarch on 2003-06-19T04:52:44

Someone is working on this. Hopefully it'll be resolved soon.

Here we go...

malte on 2003-06-18T13:59:35

This is perl, v5.8.0 built for darwin-thread-multi

Latest Mac OS X. Is that 10.2.6?

bash-2.05a$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base........ok
t/02core........ok
t/03compare.....ok
t/04mjd...... ...ok
t/05overload....ok
t/06large.......ok
All tests successful.
Files=6, Tests=363,  6 wallclock secs ( 2.46 cusr +  0.44 csys =  2.90 CPU)

SPOPS install failed using Time::Piece 2.00_01

talexb on 2003-06-18T15:33:22

First Post: Apologies if this is the wrong location.

I built SPOPS using cpan2rpm and found that it failed on Time::Piece as follows:

t/52_rule_date_convert........ok 3/22SPOPS::ruleset_process_action (344) >> Rule [1] of [post_save_action] failed t/52_rule_date_convert........NOK 5# Failed test (t/52_rule_date_convert.t at line 51) # Object field resaved as Time::Piece isn't defined t/52_rule_date_convert........NOK 6# Failed test (t/52_rule_date_convert.t at line 53) # got: '2002-00-02 02:22:12' # expected: '2002-02-02 02:22:12' SPOPS::ruleset_process_action (344) >> Rule [1] of [post_fetch_action] failed t/52_rule_date_convert........NOK 7# Failed test (t/52_rule_date_convert.t at line 57) # Object field fetched as Time::Piece isn't defined t/52_rule_date_convert........NOK 8# Failed test (t/52_rule_date_convert.t at line 59) # got: 'Sat Feb 02 02:22:12 2002' # expected: undef t/52_rule_date_convert........ok 22/22# Looks like you failed 4 tests of 22. t/52_rule_date_convert........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 5-8 Failed 4/22 tests, 81.82% okay