Bugzilla – Attachment 89565 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), 995 bytes, created by
Arthur Bousquet
on 2019-05-10 19:09:56 UTC
(
hide
)
Description:
Bug 22742: FIX : RenewLoan returns correct datetime format
Filename:
MIME Type:
Creator:
Arthur Bousquet
Created:
2019-05-10 19:09:56 UTC
Size:
995 bytes
patch
obsolete
>From 0698270b1f51811ed5e6736919049ce3d7a4d3e8 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). > >Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com> >--- > 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 43935bb..b80d7d8 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.7.4
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