From f9c7b6c84f1b486d1571f8f9a20d72e69689b41b Mon Sep 17 00:00:00 2001 From: Alejo Arias Date: Fri, 29 Apr 2022 21:05:20 +0200 Subject: [PATCH] Fix reset month feedback message --- factorial/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/factorial/client.go b/factorial/client.go index d165e5a..ab3f109 100644 --- a/factorial/client.go +++ b/factorial/client.go @@ -272,9 +272,9 @@ func (c *factorialClient) ResetMonth() { t = time.Date(c.year, time.Month(c.month), shift.Day, 0, 0, 0, 0, time.UTC) message = fmt.Sprintf("%s... ", t.Format("02 Jan")) if resp.StatusCode != 204 { - fmt.Print(fmt.Sprintf("%s ❌ Error when attempting to delete shift: %d, %s - %s\n", message, shift.Day, shift.Clock_in, shift.Clock_out)) + fmt.Print(fmt.Sprintf("%s ❌ Error when attempting to delete shift: %s - %s\n", message, shift.Clock_in, shift.Clock_out)) } else { - fmt.Print(fmt.Sprintf("%s ✅ Shift deleted: %d, %s - %s\n", message, shift.Day, shift.Clock_in, shift.Clock_out)) + fmt.Print(fmt.Sprintf("%s ✅ Shift deleted: %s - %s\n", message, shift.Clock_in, shift.Clock_out)) } defer resp.Body.Close() }