index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel <blackrabbit256@gmail.com> | 2021-12-03 07:17:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 21:17:51 +0100 |
commit | 908c7b8cc0a804e9522d93fcf0dc71034c53ccdb (patch) | |
tree | 6ca53ef0354481512920997a5e48e51b36d591f6 /archinstall/lib/locale_helpers.py | |
parent | 22ee2d90a1d2fb6af2ab5e80235e31f9da7a0550 (diff) |
-rw-r--r-- | archinstall/lib/locale_helpers.py | 5 |
diff --git a/archinstall/lib/locale_helpers.py b/archinstall/lib/locale_helpers.py index 36228edc..ad85ea1b 100644 --- a/archinstall/lib/locale_helpers.py +++ b/archinstall/lib/locale_helpers.py @@ -47,3 +47,8 @@ def set_keyboard_language(locale): return True return False + + +def list_timezones(): + for line in SysCommand("timedatectl --no-pager list-timezones", environment_vars={'SYSTEMD_COLORS': '0'}): + yield line.decode('UTF-8').strip() |