summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-28 18:29:51 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-28 18:29:51 +0000
commitdb4e173bd3cc0c44ab3718cc3626df215d22e129 (patch)
treec0767f08ad4d05db3b81fb1decf98e4b95b8939c /perl-install/any.pm
parent2a4096dbcacc4d9b967c991d77a238de5a54f993 (diff)
downloaddrakx-backup-do-not-use-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar
drakx-backup-do-not-use-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.gz
drakx-backup-do-not-use-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.bz2
drakx-backup-do-not-use-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.xz
drakx-backup-do-not-use-db4e173bd3cc0c44ab3718cc3626df215d22e129.zip
fix computing time according to timezone in local/UTC dialog
(by using zoneinfo files from the installed prefix)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
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"),