Changed the date on the reserves print slip to show the mday not mday+1

This commit is contained in:
finlayt 2002-10-31 22:10:02 +00:00
parent 027a7b5d12
commit 15b591f07a
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ EOF
}
if ($res->{'ResFound'} eq "Reserved") {
my @da = localtime(time());
my $todaysdate = sprintf ("%0.2d", ($da[3]+1))."/".sprintf ("%0.2d", ($da[4]+1))."/".($da[5]+1900);
my $todaysdate = sprintf ("%0.2d", ($da[3]))."/".sprintf ("%0.2d", ($da[4]+1))."/".($da[5]+1900);
my $slip = <<"EOF";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: $todaysdate;