Merge branch 'master' of git://git.evergreen-ils.org/OpenSRF
authorEquinox <info@esilibrary.com>
Tue, 1 May 2018 01:00:04 +0000 (21:00 -0400)
committerEquinox <info@esilibrary.com>
Tue, 1 May 2018 01:00:04 +0000 (21:00 -0400)
src/perl/lib/OpenSRF/DomainObject/oilsMessage.pm

index 33675a8..b84c80c 100644 (file)
@@ -244,6 +244,7 @@ sub handler {
 
        if( $val ) {
                local $ENV{TZ} = $tz || $ENV{TZ}; # automatic revert at the end of this scope
+               delete $ENV{TZ} unless $ENV{TZ}; # avoid UTC fall-back
                tzset();
                return OpenSRF::Application->handler($session, $self->payload);
        } else {