diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-07 20:28:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-07 20:28:22 +0000 |
commit | fdc0e52cf8c9cfae833f45ec59d35d640a7ce6cc (patch) | |
tree | c490fb5b33d6b0a0816303cc7b7d4c1a88262da6 /perl-install/install_steps_interactive.pm | |
parent | b1f24e0e6c2b5dd8870d1ee89bf7911fe871bfac (diff) | |
download | drakx-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.pm | 3 |
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); } |