fix: change time format to unix time for defautl title

pull/13/head
kha7iq 4 years ago
parent 9f34bc7d28
commit 817aa02ddc

@ -24,7 +24,7 @@ type rocketChat struct {
var ( var (
// EmptyChannel variable holds default error message if no channel is provided. // EmptyChannel variable holds default error message if no channel is provided.
EmptyChannel = "channel name or id can not be empty" 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. // SendToRocketChat parse values from *cli.context and return *cli.Command.

Loading…
Cancel
Save