From c22ccc8f5987bf04cf39ffc99919a5209c86c9f8 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sun, 14 Sep 2014 15:57:29 -0400 Subject: [PATCH] Fix set_timezone to set_time_zone in NCIP::ILS::Evergreen->renewitem. Signed-off-by: Jason Stephenson --- lib/NCIP/ILS/Evergreen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 239baf6..0a2bf37 100644 --- 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); -- 2.11.0