From 9f7f46caf2bab722a98d5556ef46d1a14e0f2c60 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 15 Sep 2006 18:15:17 +0000 Subject: [PATCH] re-fetching the circ to get the local timezone into the circ object this is basically an easy way to solve the lack of proper date-time parsing on the client end for now. git-svn-id: svn://svn.open-ils.org/ILS/trunk@6120 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index a57450af76..1ab03e0a70 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -828,6 +828,9 @@ sub do_checkout { return $self->bail_on_events($self->editor->event) unless $self->editor->create_action_circulation($self->circ); + # refresh the circ to force local time zone for now + $self->circ($self->editor->retrieve_action_circulation($self->circ->id)); + $self->copy->status(OILS_COPY_STATUS_CHECKED_OUT); $self->update_copy; return if $self->bail_out; -- 2.11.0