From 54e6bc907ea75510dc8b653a4ee1adc267520f91 Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Tue, 16 Aug 2022 21:16:14 +0200 Subject: [PATCH] adjusted time format to rss validator --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index b664786..a3652c6 100644 --- a/user.go +++ b/user.go @@ -100,7 +100,7 @@ func (user User) CreateNewPost(title string) (Post, error) { initial_content := "" initial_content += "---\n" initial_content += "title: " + title + "\n" - initial_content += "date: " + time.Now().UTC().Format("02 Jan 2006 15:04 MST") + "\n" + initial_content += "date: " + time.Now().UTC().Format(time.RFC1123Z) + "\n" initial_content += "---\n" initial_content += "\n" initial_content += "Write your post here.\n"