From 2c727e2600eb5e1fb24b0d787daa6f2bee89140c Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 27 Jul 2023 21:02:51 -0600 Subject: [PATCH] forgot timestamp default format --- lib/messages.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/messages.go b/lib/messages.go index 44b7061..e49422c 100644 --- a/lib/messages.go +++ b/lib/messages.go @@ -171,6 +171,7 @@ func ReplaceMarkdown(content string, noColor bool) string { case "D": return timeObj.Format("2 January 2006") case "f": + default: return timeObj.Format("2 January 2006 15:04") case "F": return timeObj.Format("Monday, 2 January 2006 15:04")