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 '/dt' slash command #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fgiannar
Copy link

PR Description

This PR introduces an additional slash command that will automatically parse a message to convert the time to the viewing member's local time.
This removes the need for an extra question to list channel members in private channels improving the UX in private channel and direct messages.
Furthermore, it improves the UX in cases where we simply want to display a date to everyone viewing that text in their current local time without mentioning all other team members' timezones.

Added functionality

  • Adds a new slash command, /dt
  • Adds a new endpoint, slash/receive-dt that receives the POST payload from the dt slash command
  • Makes use of Slack's Date Formatting in order to display a date in the local timezone of the person seeing the text.

Sample

Screen Capture on 2020-06-22 at 01-31-09

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

Successfully merging this pull request may close these issues.

1 participant