Commit b91a6dd8 authored by kaniini's avatar kaniini
Browse files

Merge branch 'hotfix/http-date-header' into 'develop'

activitypub: fix date header format

See merge request !879
parents 1fc1b0d9 689b0730
Pipeline #8384 passed with stages
in 3 minutes and 55 seconds
......@@ -828,7 +828,7 @@ def publish_one(%{inbox: inbox, json: json, actor: actor, id: id} = params) do
date =
NaiveDateTime.utc_now()
|> Timex.format!("{WDshort}, {D} {Mshort} {YYYY} {h24}:{m}:{s} GMT")
|> Timex.format!("{WDshort}, {0D} {Mshort} {YYYY} {h24}:{m}:{s} GMT")
signature =
Pleroma.Web.HTTPSignatures.sign(actor, %{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment