projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
17657b6
)
Bug 5549 : Format Date in ILSDI::Services to include hhmm
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Mon, 20 Jun 2011 09:22:04 +0000
(10:22 +0100)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 19 Mar 2012 23:37:07 +0000
(12:37 +1300)
C4/ILSDI/Services.pm
patch
|
blob
|
history
diff --git
a/C4/ILSDI/Services.pm
b/C4/ILSDI/Services.pm
index
067afd7
..
2940c00
100644
(file)
--- a/
C4/ILSDI/Services.pm
+++ b/
C4/ILSDI/Services.pm
@@
-33,6
+33,7
@@
use C4::ILSDI::Utility;
use XML::Simple;
use HTML::Entities;
use CGI;
+use DateTime;
=head1 NAME
@@
-558,7
+559,7
@@
sub RenewLoan {
# Hashref building
my $out;
$out->{'renewals'} = $issue->{'renewals'};
- $out->{
'date_due'} = $issue->{'date_due'}
;
+ $out->{
date_due} = $issue->{date_due}->strftime('%Y-%m-%d %H:%S')
;
$out->{'success'} = $renewal[0];
$out->{'error'} = $renewal[1];