Bug 33736: Set default window to 1 week
This update the default display from today + 1 to today + 7 days. Sponsored-by: PTFS Europe Ltd Signed-off-by: Esther Melander <esther@bywatersolutions.com> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1f7038d11a
commit
deb0a8f9f6
|
|
@ -38,7 +38,7 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user(
|
|||
|
||||
my $today = dt_from_string();
|
||||
my $startdate = $today->truncate( to => 'day' );
|
||||
my $enddate = $startdate->clone->add( days => 1 );
|
||||
my $enddate = $startdate->clone->add( days => 7 );
|
||||
|
||||
$template->param(
|
||||
todaysdate => $today,
|
||||
|
|
|
|||
Loading…
Reference in New Issue