From: Tim Pope Date: Sun, 20 Feb 2005 21:57:38 +0000 (+0000) Subject: Presidents Day omission. I need a more general purpose holiday system. X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=commitdiff_plain;h=bd39936410d5ae66d742cd04e03acc792f24cb91 Presidents Day omission. I need a more general purpose holiday system. --- diff --git a/perl/sctweb b/perl/sctweb index 1d6bfcb..7ca5d9f 100755 --- a/perl/sctweb +++ b/perl/sctweb @@ -92,6 +92,7 @@ sub off_for_holidays { my $good=1; foreach my $x ($year->labels($_)) { $good=0 if $x =~ /Veteran/; + $good=0 if $x =~ /Presidents/; $good=2 if $x =~ /Thanksgiving/; } next unless ($year->is_full($_) && $_>=$firstday && $_<=$lastday);