From dbf6f6c7d6c3a7d874bcaf116d7448f999e78071 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Tue, 6 Jul 2021 11:18:32 -0400 Subject: [PATCH] Add formatting --- commands.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands.go b/commands.go index 98a411b..a4f6788 100644 --- a/commands.go +++ b/commands.go @@ -3,9 +3,9 @@ package main import ( "context" "fmt" - "time" "strconv" "strings" + "time" "github.com/google/uuid" "samhofi.us/x/keybase/v2/types/chat1" @@ -97,8 +97,8 @@ func deferTime(m chat1.MsgSummary) { log.LogError("%+v: %+v", tracker, err) return } - k.SendMessageByConvID(m.ConvID, fmt.Sprintf("I will run %+v at %+v", command, time.Now().Add(timer))) - time.Sleep(timer) + k.SendMessageByConvID(m.ConvID, fmt.Sprintf("I will run %+v at %+v", command, time.Now().Add(timer).Format("Jan _2 15:04:05"))) + time.Sleep(timer) handleChat(m) }