slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.64k stars 1.13k forks source link

fix: change type of timestamp #1131

Closed yokishava closed 1 year ago

yokishava commented 1 year ago

why

I saw the issues on https://github.com/slack-go/slack/issues/1123 and https://github.com/slack-go/slack/issues/1104. I fixed them.

what

I changed the Timestamp defined in RichTextSectionDateElement to a JSONTime type. I also added the case of RichTextSectionDateElement to the test.

kanata2 commented 1 year ago

This will be released in v0.12.