From: Jane Sandberg Date: Wed, 20 Feb 2019 19:30:30 +0000 (-0800) Subject: LP1797934: Fixing timezones and removing test code X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2da3dae2695184b9817e6c4eb8c95f749806f691;p=working%2FEvergreen.git LP1797934: Fixing timezones and removing test code Signed-off-by: Jane Sandberg Signed-off-by: Remington Steed --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index e55969535f..3ec7900939 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -996,8 +996,6 @@ sub load_myopac_holds { my $e = $self->editor; my $ctx = $self->ctx; -$ctx->{cats} = "Dogs"; - my $limit = $self->cgi->param('limit') || 15; my $offset = $self->cgi->param('offset') || 0; my $action = $self->cgi->param('action') || ''; @@ -2898,7 +2896,6 @@ sub load_myopac_reservations { ); $ctx->{reservations} = $upcoming; - $ctx->{dogs} = "BEAST"; return Apache2::Const::OK; } diff --git a/Open-ILS/src/templates/opac/myopac/reservations.tt2 b/Open-ILS/src/templates/opac/myopac/reservations.tt2 index 50d5c0fbd4..d134246f30 100644 --- a/Open-ILS/src/templates/opac/myopac/reservations.tt2 +++ b/Open-ILS/src/templates/opac/myopac/reservations.tt2 @@ -16,8 +16,8 @@ [% FOREACH r IN ctx.reservations %] [% r.resource_type_name %] - [% date.format(ctx.parse_datetime(r.start_time, 1), DATE_FORMAT _ ' %I:%M %p') %] - [% date.format(ctx.parse_datetime(r.end_time, 1), DATE_FORMAT _ ' %I:%M %p') %] + [% date.format(ctx.parse_datetime(r.start_time, r.pickup_lib), DATE_FORMAT _ ' %I:%M %p') %] + [% date.format(ctx.parse_datetime(r.end_time, r.pickup_lib), DATE_FORMAT _ ' %I:%M %p') %] [% r.pickup_name %] [% IF r.cancel_time %]