Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-14 14:05:37 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-14 14:05:37 +0530
commit757aa15f956a54582bb3608031d121e889082dc2 (patch)
treece95047ec783095dfa269fc98c9d23409eb6c823 /archinstall/lib
parentb292981de63ecd6cebd361cb2bbbc635ab9efe1e (diff)
git automerge removed some important stuff
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 6756fb50..c72e6846 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -130,7 +130,9 @@ def ask_for_additional_users(prompt='Any additional users to install (leave blan
return users, super_users
def ask_for_a_timezone():
- timezone = input('Enter a valid timezone (Example: Europe/Stockholm): ').strip()
+ timezone = input('Enter a valid timezone (examples: Europe/Stockholm, US/Eastern) or press enter to use UTC: ').strip()
+ if timezone == '':
+ timezone = 'UTC'
if (pathlib.Path("/usr")/"share"/"zoneinfo"/timezone).exists():
return timezone
else: