Changeset 24471
- Timestamp:
- 11/20/08 17:51:28 (5 years ago)
- Location:
- lang/perl/DateTime-Lite/trunk
- Files:
-
- 2 modified
-
lib/DateTime/Lite.pm (modified) (2 diffs)
-
t/16truncate.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/DateTime-Lite/trunk/lib/DateTime/Lite.pm
r24467 r24471 61 61 my $jd = $self->{utc_rd_days} + 1_721_424.5; 62 62 63 my $day_length = $self->_day_length( $self->{utc_rd_days} );63 my $day_length = DateTime::Lite::LeapSecond::day_length( $self->{utc_rd_days} ); 64 64 65 65 return ( $jd + … … 120 120 ); 121 121 while (my ($key, $value) = each %defaults) { 122 $p{$key} = $value unless exists$p{$key};122 $p{$key} = $value unless defined $p{$key}; 123 123 } 124 124 } -
lang/perl/DateTime-Lite/trunk/t/16truncate.t
r24134 r24471 5 5 use Test::More tests => 52; 6 6 7 use DateTime::Lite ;7 use DateTime::Lite qw(Arithmetic); 8 8 9 9 my %vals =
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)