set date
This commit is contained in:
parent
abc11e112f
commit
33ca1fba6f
|
@ -8,6 +8,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
"github.com/julienschmidt/httprouter"
|
"github.com/julienschmidt/httprouter"
|
||||||
)
|
)
|
||||||
|
@ -304,6 +305,7 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R
|
||||||
Reply: owl.Reply{
|
Reply: owl.Reply{
|
||||||
Url: inReplyTo,
|
Url: inReplyTo,
|
||||||
},
|
},
|
||||||
|
Date: time.Now(),
|
||||||
},
|
},
|
||||||
content,
|
content,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue