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
This commit is contained in:
Dylan M. Taylor 2022-02-13 04:12:49 -05:00 committed by GitHub
parent 30e518f324
commit 67b922002a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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)'),