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 ++- perl-install/install/NEWS | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1