Bugzilla – Attachment 115351 Details for
Bug 27442
Overdues report uses 23:59:00 on To date filter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27442: Assume 23:59:59 for date due end date
Bug-27442-Assume-235959-for-date-due-end-date.patch (text/plain), 1.05 KB, created by
Andrew Fuerste-Henry
on 2021-01-19 20:30:10 UTC
(
hide
)
Description:
Bug 27442: Assume 23:59:59 for date due end date
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2021-01-19 20:30:10 UTC
Size:
1.05 KB
patch
obsolete
>From 186f0ac18bf05ff3c48409a8d68f4840edb10400 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Date: Tue, 19 Jan 2021 20:28:40 +0000 >Subject: [PATCH] Bug 27442: Assume 23:59:59 for date due end date > >To test: >1 - have a checkout due yesterday at 23:59:59 >2 - go to overdue.pl, search with yesterday's date in the From and To dates >3 - confirm your checkout is not listed >4 - change your To date to today >5 - confirm your check is listed >6 - apply patch, restart service >7 - repeat step 2 >8 - your checkout is there! >--- > circ/overdue.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/overdue.pl b/circ/overdue.pl >index 1ce791fe24..39d8a1da29 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -47,7 +47,7 @@ if ( $dateduefrom ) { > $dateduefrom = dt_from_string( $dateduefrom ); > } > if ( $datedueto ) { >- $datedueto = dt_from_string( $datedueto )->set_hour(23)->set_minute(59); >+ $datedueto = dt_from_string( $datedueto )->set_hour(23)->set_minute(59)->set_second(59); > } > > my $filters = { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27442
:
115351
|
119801