Skip Menu |

This queue is for tickets about the DateTime-Calendar-Hebrew CPAN distribution.

Report information
The Basics
Id: 54988
Status: new
Priority: 0/
Queue: DateTime-Calendar-Hebrew

People
Owner: Nobody in particular
Requestors: RAPMANKIN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: DateTime::Calendar::Hebrew 0.4 does not install
From: RAPMANKIN [...] cpan.org
DateTime::Calendar::Hebrew has two show-stopping bugs. 1. It does not install and requires the following edit to Hebrew.pm: -sub time_zone { 'floating' } +use DateTime::TimeZone::Floating qw( ); +sub time_zone { DateTime::TimeZone::Floating->new() } 2. Under certain circumstances the rd_nanosecs field is left unititialised. This causes the comparison of equal objects to fail. to fix, apply the following edit to Hebrew.pm: sub utc_rd_values { my $self = shift; - return @{$self}{ qw/rd_days rd_secs rd_nanosecs/ }; + my @res = @{$self}{ qw/rd_days rd_secs rd_nanosecs/ }; + $res[2] ||= 0; + return @res; }