mirror of https://github.com/jlelse/GoBlog
Another ActivityPub fix
This commit is contained in:
parent
c153638fd8
commit
295cabe781
|
@ -83,7 +83,7 @@ func (a *goBlog) toAPNote(p *post) *ap.Note {
|
||||||
}
|
}
|
||||||
if p.Updated != "" {
|
if p.Updated != "" {
|
||||||
if t, err := dateparse.ParseLocal(p.Updated); err == nil {
|
if t, err := dateparse.ParseLocal(p.Updated); err == nil {
|
||||||
note.Published = t
|
note.Updated = t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Reply
|
// Reply
|
||||||
|
|
Loading…
Reference in New Issue