mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-29 18:45:21 +01:00
Merge branch 'hotfix/http-date-header' into 'develop'
activitypub: fix date header format See merge request pleroma/pleroma!879
This commit is contained in:
commit
b91a6dd85e
@ -828,7 +828,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub 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, %{
|
||||
|
Loading…
Reference in New Issue
Block a user