serokell / tzbot

Timezone bot for Slack
Mozilla Public License 2.0
7 stars 2 forks source link

[#70] Warn users on unrecognized timezone abbreviation #75

Closed YuriRomanowski closed 1 year ago

YuriRomanowski commented 1 year ago

Description

Problem: Currently, unrecognized timezone abbreviation is simply ignored as it would be an unrelated word.

Solution: Consider all-capitalized words with 2-5 characters length as timezone abbreviations and warn users when they are not known by us; add hints when encountered abbreviation is similar to some of known ones.

Related issue(s)

Fixed #70

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)

dcastro commented 1 year ago

Great idea to suggest similar known timezone abbreviations, well done! :smile: :+1: