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

Add timezone aliases #113

Open
Phanabani opened this issue Dec 27, 2022 · 0 comments
Open

Add timezone aliases #113

Phanabani opened this issue Dec 27, 2022 · 0 comments
Assignees
Labels
minor feature A small new feature

Comments

@Phanabani
Copy link
Owner

Examples:

EST -> New York
EDT -> New York
PST -> Los Angeles
Pacific -> Los Angeles

These make big assumptions, but they're part of common language and users have tried using them expecting them to work and they don't. After #48 is implemented, this could then display the actual timezone name to at least let people know the timezone name they're using is an assumption.

This could be implemented in the config file, like:

bot:
  modules:
    conversion:
      timezone_aliases:
        Eastern: America/New_York
        PST: America/Los_Angeles
@Phanabani Phanabani added the minor feature A small new feature label Dec 27, 2022
@Phanabani Phanabani self-assigned this Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor feature A small new feature
Development

No branches or pull requests

1 participant