aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-10-31 11:07:42 +0000
committerMario <mario@mariovavti.com>2024-10-31 11:07:42 +0000
commit160c40b5807aea8e05f5cea6c4ed0115ac6a7f53 (patch)
tree8252c3794de424da7dcf935eb2ba8dc0f216d2d3
parent90a1dad02c24dcb3bc629e198ad24adc0b7566d3 (diff)
downloadvolse-hubzilla-160c40b5807aea8e05f5cea6c4ed0115ac6a7f53.tar.gz
volse-hubzilla-160c40b5807aea8e05f5cea6c4ed0115ac6a7f53.tar.bz2
volse-hubzilla-160c40b5807aea8e05f5cea6c4ed0115ac6a7f53.zip
make sure the objects published date has the correct time format
-rw-r--r--Zotlabs/Module/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 5618137a1..d96cfd822 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1060,7 +1060,7 @@ class Item extends Controller {
$obj['id'] = $mid;
$obj['diaspora:guid'] = $uuid;
$obj['attributedTo'] = channel_url($channel);
- $obj['published'] = $created;
+ $obj['published'] = datetime_convert('UTC', 'UTC', $created, ATOM_TIME);
$obj['name'] = $title;
$datarray['obj'] = $obj;