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:
Martin Renvoize 2024-04-22 13:51:40 +01:00 committed by Katrin Fischer
parent 1f7038d11a
commit deb0a8f9f6
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -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,