Bugzilla – Attachment 89654 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: ILS-DI - Fix datetime format returned by RenewLoan
Bug-22742-ILS-DI---Fix-datetime-format-returned-by.patch (text/plain), 1.14 KB, created by
Katrin Fischer
on 2019-05-13 11:20:50 UTC
(
hide
)
Description:
Bug 22742: ILS-DI - Fix datetime format returned by RenewLoan
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-05-13 11:20:50 UTC
Size:
1.14 KB
patch
obsolete
>From 3729fecc761f6870d80f3f2eb42d088a2d772717 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: ILS-DI - Fix datetime format returned by RenewLoan > >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> >Signed-off-by: Bin Wen <bin.wen@inlibro.com> > >https://bugs.koha-community.org/show_bug.cgi?id=22472 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 f6591ebe3b..f38365c732 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -637,7 +637,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