ibLeDy / timezone-converter

Whole-day timezone comparison
MIT License
13 stars 6 forks source link

Output close matches when the timezone argument is not correct #4

Closed ibLeDy closed 3 years ago

ibLeDy commented 3 years ago

When the user inputs a timezone that is not in the list, we should fuzzy search for similar ones to offer a suggestion.

We can also have a fuzzy search capability in case the --list option is not useful enough

ibLeDy commented 3 years ago

Seems like this can be done in an easy manner, even without external dependencies, as per https://twitter.com/pybites/status/1396102910627487749

Seems like django is using it for manage.py too, so we can learn from their implementation: https://github.com/django/django/pull/9703/files

drzcola commented 3 years ago

Hello @ibLeDy,

I'd like to give a hand with this.

ibLeDy commented 3 years ago

Sure, I'll assign the issue to you