timezone-butler
timezone-butler copied to clipboard
Butler showing conversion for 0PM as part of a user's ID
Describe the bug After a new user was added to our slack, the Timezone Butler started displaying timezone conversions anytime he was tagged even when there was no time in the actual message. I believe that the character '0PM' appear in this user's ID.
To Reproduce Steps to reproduce the behavior:
- Go to any slack channel with Timezone Butler
- Say '0PM'
- Other users will see timezone conversions for the nonsensical 0PM.
Expected behavior No Timezone Butler conversion should occur when XPM or XAM is found in a user's ID as part of a tag
Screenshots
Additional context In the screenshot, the middle welcome message is from somebody in the same time zone and me, so there was no conversion.
We've got same issue for user with id that contains 1AM
Any update on this one?
Happy to merge a PR fixing this bug