Merge branch 'cherry-pick-bb11cd15' into 'dev'

fix date header format

See merge request hubzilla/core!1775
This commit is contained in:
Max Kostikov 2019-11-08 21:26:54 +01:00
commit 4efb258671

View File

@ -87,7 +87,7 @@ class Activity {
$headers = [
'Accept' => 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
'Host' => $m['host'],
'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y h:i:s \\G\\M\\T'),
'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y H:i:s \\G\\M\\T'),
'(request-target)' => 'get ' . get_request_string($url)
];
if (isset($token)) {