Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2022-02-13 04:12:49 -0500
committerGitHub <noreply@github.com>2022-02-13 10:12:49 +0100
commit67b922002a30744ba35b36119bed650063e26d35 (patch)
treec862b4c6e8d9a1e0991b1a2e36ebf103fe7ebfef /archinstall/lib/menu
parent30e518f324ee309d07a9f01131c4969a7208f4ae (diff)
Set the default timezone to UTC in the menu (#981)
It's already the default, this just keeps the user from needing to make the selection
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/selection_menu.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py
index c5d63c2f..b6258d8c 100644
--- a/archinstall/lib/menu/selection_menu.py
+++ b/archinstall/lib/menu/selection_menu.py
@@ -505,7 +505,10 @@ class GlobalMenu(GeneralMenu):
display_func=lambda x: x if x else _('Not configured, unavailable unless setup manually'),
default={})
self._menu_options['timezone'] = \
- Selector(_('Select timezone'), lambda: ask_for_a_timezone())
+ Selector(
+ _('Select timezone'),
+ lambda: ask_for_a_timezone(),
+ default='UTC')
self._menu_options['ntp'] = \
Selector(
_('Set automatic time sync (NTP)'),