projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd568e7
)
Fix set_timezone to set_time_zone in NCIP::ILS::Evergreen->renewitem.
author
Jason Stephenson
<jason@sigio.com>
Sun, 14 Sep 2014 19:57:29 +0000
(15:57 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sun, 14 Sep 2014 19:57:29 +0000
(15:57 -0400)
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP/ILS/Evergreen.pm
b/lib/NCIP/ILS/Evergreen.pm
index
239baf6
..
0a2bf37
100644
(file)
--- a/
lib/NCIP/ILS/Evergreen.pm
+++ b/
lib/NCIP/ILS/Evergreen.pm
@@
-798,7
+798,7
@@
sub renewitem {
$details = $self->retrieve_copy_details_by_barcode($item_barcode);
$circ = $details->{circ};
my $due = DateTime::Format::ISO8601->parse_datetime(cleanse_ISO8601($circ->due_date()));
- $due->set_timezone('UTC');
+ $due->set_time
_
zone('UTC');
$data->{DateDue} = $due->iso8601();
$response->data($data);