From: Tim Pope Date: Fri, 29 Apr 2005 14:22:52 +0000 (+0000) Subject: No more Friday exams X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=commitdiff_plain;h=9763dbc57f2890e6de599be36a88bbe0a1022bd7 No more Friday exams --- diff --git a/perl/sctweb b/perl/sctweb index 15ab1ef..3c26cee 100755 --- a/perl/sctweb +++ b/perl/sctweb @@ -181,6 +181,8 @@ sub off_for_exams { } elsif($time =~ /$ending/) { return $lastday-5; } + } elsif($days eq "5") { + return $lastday-2; } return wantarray ? () : ""; }