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

Extensions.ToProperTimeStamp for Slack Date formatting #283

Open
bsozin opened this issue Nov 25, 2021 · 0 comments
Open

Extensions.ToProperTimeStamp for Slack Date formatting #283

bsozin opened this issue Nov 25, 2021 · 0 comments

Comments

@bsozin
Copy link

bsozin commented Nov 25, 2021

Looks like slack refuses to accept milliseconds in <!date> formatting.

Example of acceptable message.
And example of unacceptable one.

Therefore Extensions.ToProperTimeStamp which always produce 6 decimal digits generates timestamp not suitable for formatting.

Maybe introduce additional parameter for the method (like ignoreMs) which will make integer timestamp?

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

No branches or pull requests

1 participant