From 160c40b5807aea8e05f5cea6c4ed0115ac6a7f53 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 31 Oct 2024 11:07:42 +0000 Subject: make sure the objects published date has the correct time format --- Zotlabs/Module/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3