Bugzilla – Attachment 26386 Details for
Bug 11694
Improve handling of individual hold suspension in Bootstrap OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11694 [QA Followup] - Don't include time when converting date string to DateTime
PASSED-QA-Bug-11694-QA-Followup---Dont-include-tim.patch (text/plain), 1.03 KB, created by
Katrin Fischer
on 2014-03-16 19:41:22 UTC
(
hide
)
Description:
[PASSED QA] Bug 11694 [QA Followup] - Don't include time when converting date string to DateTime
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-03-16 19:41:22 UTC
Size:
1.03 KB
patch
obsolete
>From 021b3319c08e1bb0d3527fcab0762a6aa35511d9 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 27 Feb 2014 08:40:55 -0500 >Subject: [PATCH] [PASSED QA] Bug 11694 [QA Followup] - Don't include time when > converting date string to DateTime > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > C4/Reserves.pm | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 7a914e3..eb1ae2b 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1545,7 +1545,13 @@ be cleared when it is unsuspended. > sub ToggleSuspend { > my ( $reserve_id, $suspend_until ) = @_; > >- $suspend_until = output_pref({ dt => dt_from_string( $suspend_until ), dateformat => 'iso' }) if ( $suspend_until ); >+ $suspend_until = output_pref( >+ { >+ dt => dt_from_string($suspend_until), >+ dateformat => 'iso', >+ dateonly => 1 >+ } >+ ) if ($suspend_until); > > my $do_until = ( $suspend_until ) ? '?' : 'NULL'; > >-- >1.8.3.2
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 11694
:
25104
|
25697
|
25698
|
26385
| 26386