Skip to content

Extensions.ToProperTimeStamp for Slack Date formatting #283

Description

@bsozin

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions