1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-15 14:20:18 -07:00

fix: change time format to unix time for defautl title

This commit is contained in:
kha7iq 2021-04-20 18:28:42 +08:00
parent 9f34bc7d28
commit 817aa02ddc

View File

@ -24,7 +24,7 @@ type rocketChat struct {
var (
// EmptyChannel variable holds default error message if no channel is provided.
EmptyChannel = "channel name or id can not be empty"
TimeValue = "⏰ " + time.Now().String()
TimeValue = "⏰ " + time.Now().Format(time.UnixDate)
)
// SendToRocketChat parse values from *cli.context and return *cli.Command.