Skip to content

Extensions.ToProperTimeStamp for Slack Date formatting #283

@bsozin

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?

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