Fixed RSS pubDate

This commit is contained in:
Pablo Ferreiro 2022-05-18 11:44:58 +02:00
parent 4232ca8d64
commit 9a662ffe1b
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24

View file

@ -14,7 +14,7 @@
<title>{$item->desc}</title> <title>{$item->desc}</title>
<description><![CDATA[{$item->desc}]]></description> <description><![CDATA[{$item->desc}]]></description>
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link> <link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
<pubDate>{(int) $item->createTime}</pubDate> <pubDate>{date('r', $item->createTime)}</pubDate>
<guid isPermaLink="false">{$item->id}</guid> <guid isPermaLink="false">{$item->id}</guid>
<enclosure length="{$download->file_size($item->video->playAddr)}" type="video/mp4" url="{path('/stream?url=' . urlencode($item->video->playAddr))}"></enclosure> <enclosure length="{$download->file_size($item->video->playAddr)}" type="video/mp4" url="{path('/stream?url=' . urlencode($item->video->playAddr))}"></enclosure>
</item> </item>