diff options
author | kaniini <nenolod@gmail.com> | 2019-03-01 12:28:08 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-03-01 12:28:08 +0000 |
commit | b91a6dd85e143b6f1505a53b13b5c9d9ae6cbf8a (patch) | |
tree | 2bc4a3c735f8eaeaf632f68995b5e7f7075e5ff8 /lib | |
parent | 1fc1b0d935a0c7f599f81389914721c0ace04d60 (diff) | |
parent | 689b0730f8074b283da255d4520d05cc1072557e (diff) | |
download | pleroma-b91a6dd85e143b6f1505a53b13b5c9d9ae6cbf8a.tar.gz |
Merge branch 'hotfix/http-date-header' into 'develop'
activitypub: fix date header format
See merge request pleroma/pleroma!879
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 52404c7e5..16ae65867 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -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, %{ |