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 | |
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)
-rw-r--r-- | perl-install/any.pm | 3 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 |
2 files changed, 4 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"), diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 1c411d674..574c7a69c 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -4,6 +4,8 @@ partition where "/" is ext3 with block-size 1KB to avoid kernel bug (#37583) - detect as laptop systems with ACPI lid button (i.e. if /sys/bus/acpi/devices/PNP0C0D:* exists) +- fix computing time according to timezone in local/UTC dialog + (by using zoneinfo files from the installed prefix) Version 10.21 - 25 March 2008 |