In a few cases, the server's timezone is preferable to the client's.
One such case is display of due dates for circulations in My Account,
so we provide a way to signal that we want to use the server's timezone,
and so signal.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
$method .= '.atomic';
}
+ local $ENV{TZ} = $$options{no_tz} ? undef : $ENV{TZ};
+
$method =~ s/search/id_list/o if $options->{idlist};
$method =~ s/\.atomic$//o if $self->substream($$options{substream} || 0);
$e->xact_begin;
my $circs = $e->search_action_circulation(
- [{id => \@circ_ids}, ($flesh) ? $qflesh : {}], {substream => 1});
+ [{id => \@circ_ids}, ($flesh) ? $qflesh : {}], {substream => 1, no_tz => 1});
my @circs;
for my $circ (@$circs) {