diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-28 18:29:51 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-28 18:29:51 +0000 |
commit | db4e173bd3cc0c44ab3718cc3626df215d22e129 (patch) | |
tree | c0767f08ad4d05db3b81fb1decf98e4b95b8939c /perl-install/any.pm | |
parent | 2a4096dbcacc4d9b967c991d77a238de5a54f993 (diff) | |
download | drakx-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar drakx-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.gz drakx-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.bz2 drakx-db4e173bd3cc0c44ab3718cc3626df215d22e129.tar.xz drakx-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.pm | 3 |
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"), |