Browse Source

fix date header format

(cherry picked from commit bb11cd15d1)
master
Mario 1 year ago
parent
commit
7532358806
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Zotlabs/Lib/Activity.php

+ 1
- 1
Zotlabs/Lib/Activity.php 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)) {

Loading…
Cancel
Save