diff options
author | zotlabs <mike@macgirvin.com> | 2019-11-08 13:10:24 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-11-08 13:10:24 -0800 |
commit | 00dd52317adb0f7db339649e076df331975a8398 (patch) | |
tree | d9559c19aafb1fb0ead583aeab662b1f9a94d2a5 /Zotlabs/Lib | |
parent | 17522b31e9d7f092ecf5565ec28be270af7fad7b (diff) | |
parent | 163b1ee9f82985755f8e74fd144780ae08ce4030 (diff) | |
download | volse-hubzilla-00dd52317adb0f7db339649e076df331975a8398.tar.gz volse-hubzilla-00dd52317adb0f7db339649e076df331975a8398.tar.bz2 volse-hubzilla-00dd52317adb0f7db339649e076df331975a8398.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 | ||||
-rw-r--r-- | Zotlabs/Lib/LDSignatures.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 2014d68af..e41e165b1 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -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)) { diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php index b13c4cf4a..16c8cfc18 100644 --- a/Zotlabs/Lib/LDSignatures.php +++ b/Zotlabs/Lib/LDSignatures.php @@ -30,7 +30,7 @@ class LDSignatures { 'type' => 'RsaSignature2017', 'nonce' => random_string(64), 'creator' => z_root() . '/channel/' . $channel['channel_address'], - 'created' => datetime_convert('UTC','UTC', 'now', 'Y-m-d\Th:i:s\Z') + 'created' => datetime_convert('UTC','UTC', 'now', 'Y-m-d\TH:i:s\Z') ]; $ohash = self::hash(self::signable_options($options)); |