minor tweak of ParseCron sentence

master
yegg 2012-05-09 10:17:16 -04:00
parent bf94310aef
commit 49a46c4504
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ handle remainder => sub {
my $cron = new Schedule::Cron::Events($crontab) or return;
my ($sec, $min, $hour, $day, $month, $year) = $cron->nextEvent;
$year = $year+1900;
my $text = sprintf qq(Event will start next at %02d:%02d:%02d on %d %s, %d), $hour, $min, $sec, $day, $mon[$month], $year;
my $text = sprintf qq(Cron will start this event next at %02d:%02d:%02d on %d %s, %d), $hour, $min, $sec, $day, $mon[$month], $year . '.';
return $text if $_;
return;
};