From: Tim Pope Date: Thu, 5 May 2005 17:27:23 +0000 (+0000) Subject: -f to -F X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=commitdiff_plain;h=ac5c17344fb558643239ce256af0c69b55ae60ac -f to -F --- diff --git a/perl/sctweb b/perl/sctweb index 3c26cee..4b1c0b1 100755 --- a/perl/sctweb +++ b/perl/sctweb @@ -61,7 +61,7 @@ sub US_Labor # First Monday after the first Sunday in September } my $config = $ENV{HOME} . "/.sctwebrc"; -if ($ARGV[0] eq '-f') { +if ($ARGV[0] eq '-F') { shift; $config = shift; } @@ -232,7 +232,7 @@ sub get_schedule_terms { } elsif ($localtime[4]<10) { # through Oct 31 @sterms=((1900+$localtime[5]).$a[0]); } else { - @sterms=((1900+$localtime[5])."1",(1901+$localtime[5])."2"); + @sterms=((1900+$localtime[5]).$a[0],(1901+$localtime[5]).$a[1]); } return @sterms; }