|Subject:||Constructor ignores start and interval|
Hi Peeps, This module seems to be ignoring start and interval. See the test below: <snip> #!/usr/bin/perl use strict; use warnings; use DateTime; use DateTime::Event::Recurrence; my $dt_start = DateTime->now(); print("Datetime start is " . $dt_start . "\n"); my $set = DateTime::Event::Recurrence->daily( interval => 11, hours => 10, minutes => 30, start => $dt_start, ); print("Set start: " . $set->min->mdy . "\n"); print("Set end: " . $set->max->mdy . "\n"); <.snip> Outputs: Datetime start is 2012-09-03T14:05:50 Spanset start: -9223372036854775808--9223372036854775808--9223372036854775808 Spanset end: -01--01--0001 For some reason the args seem to be ignored and the returned set is unbound giving a min and max of infinity. I've had a very quick look at the source but I can't see an obvious place to start. Thanks, Ian.