|
From: Swen T. <sw...@me...> - 2002-09-09 13:42:03
|
On Mon, Sep 09, 2002 at 08:32:23AM -0400, Chris Winters wrote:
>
> You are correct, it should, and it's been changed. However, you might
> want to upgrade your Test::More -- this test was actually in a SKIP
> block since I was having weird timezone issues and couldn't get the test
> to succeed.
Hmm, no. Only the timezone tests are skipped, not the today() check:
[...]
SKIP: {
skip( 'Weird timezone interaction', 1 );
my $now = Class::Date->new({ time => $base_time })->strftime( '%Y-%m-%d %T' );
is( $now, "$year-$mon-$mday $hour:$min:$sec", 'Default format for now()' );
}
my $today = SPOPS::Utility->today();
is( $today, "$year-$mon-$mday", 'Format for today()' );
[...]
Sorry for nitpicking :-)
--Swen
|