Bugzilla – Attachment 88341 Details for
Bug 22742
RenewLoan return wrong datetime format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22742: FIX : RenewLoan returns correct datetime format
Bug-22742-FIX--RenewLoan-returns-correct-datetime-.patch (text/plain), 940 bytes, created by
Arthur Suzuki
on 2019-04-19 09:51:30 UTC
(
hide
)
Description:
Bug 22742: FIX : RenewLoan returns correct datetime format
Filename:
MIME Type:
Creator:
Arthur Suzuki
Created:
2019-04-19 09:51:30 UTC
Size:
940 bytes
patch
obsolete
>From a65507c44daef5b5f9c6c9da5dc3cd4b727895f4 Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Fri, 19 Apr 2019 11:48:31 +0200 >Subject: [PATCH] Bug 22742: FIX : RenewLoan returns correct datetime format > >Test plan : >Call RenewLoan a few times and check the date returned is correct (minute wise). >--- > C4/ILSDI/Services.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 56a2f18114..f0042d7122 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -639,7 +639,7 @@ sub RenewLoan { > # Hashref building > my $out; > $out->{'renewals'} = $issue->renewals; >- $out->{date_due} = dt_from_string($issue->date_due)->strftime('%Y-%m-%d %H:%S'); >+ $out->{date_due} = dt_from_string($issue->date_due)->strftime('%Y-%m-%d %H:%M'); > $out->{'success'} = $renewal[0]; > $out->{'error'} = $renewal[1]; > >-- >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 22742
:
88341
|
89565
|
89568
|
89569
|
89654