Bugzilla – Attachment 89566 Details for
Bug 22472
Should column_exists explode if the table does not exist?
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), 1.08 KB, created by
Bin Wen
on 2019-05-10 19:54:22 UTC
(
hide
)
Description:
Bug 22742: FIX : RenewLoan returns correct datetime format
Filename:
MIME Type:
Creator:
Bin Wen
Created:
2019-05-10 19:54:22 UTC
Size:
1.08 KB
patch
obsolete
>From 738ceff515ec220cb4c979ca7e2955867f552695 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> >Signed-off-by: Bin Wen <bin.wen@inlibro.com> > >https://bugs.koha-community.org/show_bug.cgi?id=22472 >--- > 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 43935bbf8f..b80d7d8043 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.17.1
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 22472
:
86240
|
86241
|
87381
|
87382
|
87512
|
87513
|
89566
|
89567