update @ Tue 8 Aug 17:56:11 EEST 2023

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-08-08 17:56:11 +03:00
parent ec2a2f3226
commit 6b081b2307
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -975,6 +975,7 @@ def generate_rss(config: Dict[str, Any]) -> Tuple[int, Dict[str, Any]]:
etree.SubElement(item, "pubDate").text = datetime.utcfromtimestamp( etree.SubElement(item, "pubDate").text = datetime.utcfromtimestamp(
post["time"] post["time"]
).strftime(ftime) ).strftime(ftime)
etree.SubElement(item, "guid").text = encode_url(id)
etree.ElementTree(root).write(config["rss-feed"]) etree.ElementTree(root).write(config["rss-feed"])