Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding and deleting time zones #2

Closed
3 tasks
oz opened this issue Jan 30, 2021 · 1 comment
Closed
3 tasks

Adding and deleting time zones #2

oz opened this issue Jan 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@oz
Copy link
Owner

oz commented Jan 30, 2021

The UI must allow one to add arbitrary time zones from the tz db.

  • key bindings to navigate between the configured time zones (arrows, j, k, ...),
  • delete, or backspace, or d should show a confirmation dialog to remove the zone,
  • + to show the "add a time zone" dialog where the UI helps auto-complete from the tzdb list.

Notes:

Since go 1.15, there is a time/tzdata package that one can embed to work around cases where the info is not available on the host (this adds 800kb to the binary 🐘).

@oz oz added the enhancement New feature or request label Jan 30, 2021
@oz oz closed this as completed Feb 3, 2021
@oz
Copy link
Owner Author

oz commented Feb 3, 2021

Duh. Let's just use env. variables for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant