Changed the date on the reserves print slip to show the mday not mday+1
This commit is contained in:
parent
027a7b5d12
commit
15b591f07a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue