Bugzilla – Attachment 89788 Details for
Bug 22914
Add holds column to batch item delete to fix show/hide columns behaviour
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.30 KB, created by
ByWater Sandboxes
on 2019-05-15 16:52:44 UTC
(
hide
)
Description:
Bug 22742: ILS-DI - Fix datetime format returned by RenewLoan
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2019-05-15 16:52:44 UTC
Size:
1.30 KB
patch
obsolete
>From caf191a976dfcaa50b142b403fdc576c5acdefd9 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> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com> > >https://bugs.koha-community.org/show_bug.cgi?id=22914 >--- > 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 22914
:
89785
|
89787
|
89788
|
89789
|
89790
|
89796
|
89869
|
90139