From 33ca1fba6fd012269dc1a318ef14109874aded97 Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sat, 19 Nov 2022 15:54:26 +0100 Subject: [PATCH] set date --- cmd/owl/web/handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/owl/web/handler.go b/cmd/owl/web/handler.go index 84ddd6e..962ea7a 100644 --- a/cmd/owl/web/handler.go +++ b/cmd/owl/web/handler.go @@ -8,6 +8,7 @@ import ( "os" "path" "strings" + "time" "github.com/julienschmidt/httprouter" ) @@ -304,6 +305,7 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R Reply: owl.Reply{ Url: inReplyTo, }, + Date: time.Now(), }, content, )