Oh, that's a thing? Sorry, I've been working by example with Perl, I'll do
a quick fix for that now.


On Thu, Nov 21, 2013 at 10:41 PM, Jag Talon <notifications@github.com>wrote:

> In lib/DDG/Goodie/LeapYear.pm:
>
> > +);
> > +# 'is not' in tenses
> > +my %is_not_tense = (
> > +    past => 'was not',
> > +    present => 'is not',
> > +    future => 'will not be',
> > +);
> > +my ($second, $minute, $hour, $dayOfMonth, $month, $partyear, $dayOfWeek, $dayOfYear, $daylightSavings) = localtime();
> > +# the current year
> > +my $year = $partyear + 1900;
> > +# searches for leap years
> > +sub search_leaps {
> > +    my ($num, $direction, $include_curr, $curryear) = @_;
> > +    my $cyear = $curryear;
> > +    my @years = ();
> > +    if($include_curr eq 0) {
>
> Should probably be == instead of 0.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/duckduckgo/zeroclickinfo-goodies/pull/236/files#r7841625>
> .
>