summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-07 20:28:22 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-07 20:28:22 +0000
commitfdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc (patch)
treec490fb5b33d6b0a0816303cc7b7d4c1a88262da6 /perl-install/install_steps_interactive.pm
parentb1f24e0e6c2b5dd8870d1ee89bf7911fe871bfac (diff)
downloaddrakx-fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc.tar
drakx-fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc.tar.gz
drakx-fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc.tar.bz2
drakx-fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc.tar.xz
drakx-fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index f4e91fd2d..e4bb09f97 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -15,6 +15,7 @@ use partition_table qw(:types);
use install_steps;
use install_any;
use detect_devices;
+use timezone;
use network;
use modules;
use lang;
@@ -211,7 +212,7 @@ sub timeConfig {
my ($o, $f) = @_;
$o->{timezone}{GMT} = $o->ask_yesorno('', _("Is your hardware clock set to GMT?"), $o->{timezone}{GMT});
- $o->{timezone}{timezone} ||=
+ $o->{timezone}{timezone} ||= timezone::bestTimezone(lang::lang2text($o->{lang}));
$o->{timezone}{timezone} = $o->ask_from_list('', _("In which timezone are you"), [ timezone::getTimeZones($o->{prefix}) ], $o->{timezone}{timezone});
install_steps::timeConfig($o,$f);
}