Skip to content

Hwclock/Tz - disclaimer and display - #4002

Closed
h8d13 wants to merge 7 commits into
archlinux:masterfrom
h8d13:dot-hwc
Closed

Hwclock/Tz - disclaimer and display#4002
h8d13 wants to merge 7 commits into
archlinux:masterfrom
h8d13:dot-hwc

Conversation

@h8d13

@h8d13 h8d13 commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Didn't find too much about this in the common issues/docs and have seen this countless times on reddit/other forums...

Why I thought it was good idea to have it in FAQ (with some more useful info) and also a visual in the TUI.

Tests:
Performed a few basics test to show concept:

  • Set BIOS to 2002 -> Offline install would fail (Shows RTC time as 2002)
  • Set wrong tz -> Online install fails -> Set to None + mandatory=True

Forces to make a considerate choice instead of using UTC default

  • Set any tz -> Hides RTC time and shows picked (like before)
Screenshot_20251216_152507 Screenshot_20251216_152530

@h8d13
h8d13 requested a review from Torxed as a code owner December 16, 2025 14:31
Comment thread archinstall/lib/args.py
parallel_downloads: int = 0
swap: bool = True
timezone: str = 'UTC'
timezone: str | None = None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not leaving it here as default with all the others?

output = f'{tr("Timezone")}: {item.value}'
return output
else:
# Show RTC time when no timezone is selected yet

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When would that happen? Isn't UTC always used as a default?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically I thought it would avoid a lot of errors just to set to None + mandatory=True because it forces user not to skip this step. Do let me know if I over-edited something (first time making changes to json cfg template).

I also thought that RTC time is relevant here for people doing offline installs using archiso fully cached

@h8d13 h8d13 closed this Dec 26, 2025
@h8d13
h8d13 deleted the dot-hwc branch December 27, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants