Subject: | is_holiday disagrees on holidays based on |
This little snippet demonstrates differencing results from is_holiday based on parameters, which should give same result.
jonasbn
#!/usr/bin/env perl
use strict;
use warnings;
use Date::Holidays::CA;
use Data::Dumper;
{
my $ca = Date::Holidays::CA->new({province => 'NL'});
print $ca->is_holiday(2015, 2, 16);
print "\n";
}
{
my $ca = Date::Holidays::CA->new();
print $ca->is_holiday(2015, 2, 16, {province => 'NL'});
print "\n";
}