From 817aa02ddcbcbbcd65d4ab6fd757a07bb4f11778 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Tue, 20 Apr 2021 18:28:42 +0800 Subject: [PATCH] fix: change time format to unix time for defautl title --- cmd/rocketchat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rocketchat.go b/cmd/rocketchat.go index d113e4d..e024208 100644 --- a/cmd/rocketchat.go +++ b/cmd/rocketchat.go @@ -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.