Permalink
Browse files

foo

  • Loading branch information...
1 parent 4eec7df commit 8a65868ebbb5e1ab0a71a97dd2108238792863c4 Stevan Little committed May 17, 2007
Showing with 14 additions and 6 deletions.
  1. +7 −0 Changes
  2. +3 −2 README
  3. +2 −2 lib/Date/Formatter.pm
  4. +2 −2 t/20_Date_Formatter_overloads_test.t
View
@@ -1,5 +1,12 @@
Revision history for Perl extension Date-Formatter.
+0.09 Thurs. May 17, 2007
+ - get rid of some annoying test failures which
+ are caused by Test::More upgrades, they were
+ totally harmless, but I am getting sick of
+ typing `force install ...` in the CPAN prompt
+ all the time ;)
+
0.08 Fri Aug 26 2005
- Added localization support via DateTime::Locale
View
5 README
@@ -1,4 +1,4 @@
-Date::Formatter version 0.08
+Date::Formatter version 0.09
===========================
INSTALLATION
@@ -16,10 +16,11 @@ This module requires these other modules and libraries:
Scalar::Util
Time::Local
+ DateTime::Locale
COPYRIGHT AND LICENCE
-Copyright (C) 2004, 2005 Infinity Interactive, Inc.
+Copyright (C) 2004-2007 Infinity Interactive, Inc.
http://www.iinteractive.com
View
@@ -4,7 +4,7 @@ package Date::Formatter;
use strict;
use warnings;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
use Scalar::Util qw(blessed);
@@ -868,7 +868,7 @@ Rob Kinyon, E<lt>rob@iinteractive.comE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2004, 2005 by Infinity Interactive, Inc.
+Copyright (C) 2004-2007 Infinity Interactive, Inc.
L<http://www.iinteractive.com>
@@ -24,7 +24,7 @@ ok(overload::Method($date, '<=>'), '... overload <=>');
my $other_date = $date;
# test the operators
-cmp_ok($date, '==', $other_date, '... they should logically be equal then');
+ok($date == $other_date, '... they should logically be equal then');
ok(!($date != $other_date), '... they are equal so they shouldnt show up as not equal');
cmp_ok(($date <=> $other_date), '==', 0, '... they are equal so they should produce 1 when compared with <=>');
# test that the operators and the methods that implement
@@ -58,7 +58,7 @@ cmp_ok((($date->getSeconds() + 100) % 60), '==', $later_date->getSeconds(),
# test the compare functions again
ok(!($date == $later_date), '... they should logically not be equal then');
-cmp_ok($date, '!=', $later_date, '... they should logically be not equal then');
+ok($date != $later_date, '... they should logically be not equal then');
cmp_ok(($date <=> $later_date), '==', -1, '... they should logically be the same');
# now go back to the - operator test

0 comments on commit 8a65868

Please sign in to comment.