From db4e173bd3cc0c44ab3718cc3626df215d22e129 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 28 Mar 2008 18:29:51 +0000 Subject: fix computing time according to timezone in local/UTC dialog (by using zoneinfo files from the installed prefix) --- perl-install/any.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 5422e3065..9f80c7f23 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1369,7 +1369,8 @@ sub configure_time_more { require POSIX; use POSIX qw(strftime); my $time_format = "%H:%M:%S"; - local $ENV{TZ} = ':' . $timezone->{timezone}; + my $tz_prefix = timezone::get_timezone_prefix(); + local $ENV{TZ} = ':' . $tz_prefix . '/' . $timezone->{timezone}; $in->ask_from_({ interactive_help_id => 'configureTimezoneGMT', title => N("Date, Clock & Time Zone Settings"), -- cgit v1.2.1