summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index fd80a4654..033827a36 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1510,7 +1510,7 @@ sub configure_time_more {
require POSIX;
use POSIX qw(strftime);
my $time_format = "%H:%M:%S";
- my $tz_prefix = timezone::get_timezone_prefix();
+ my $tz_prefix = ($::testing ? '' : $::prefix) . timezone::get_timezone_prefix();
local $ENV{TZ} = ':' . $tz_prefix . '/' . $timezone->{timezone};
$in->ask_from_({ interactive_help_id => 'configureTimezoneUTC',