This commit is contained in:
Vaica committed 2026-06-24 16:12:12 +08:00
1 parent 0854f94e87
commit ff2104bc96
1 file changed
+1 -1
+1 -1
View File
@@ -658,7 +658,7 @@ handlers.read = async (chatId) => {
const lines = ["📰 <b>友链最新文章</b>\n"]; const lines = ["📰 <b>友链最新文章</b>\n"];
for (const a of articles) { for (const a of articles) {
const date = new Date(a.pubDate).toLocaleDateString("zh-CN", { timeZone: "Asia/Shanghai" }); const date = new Date(a.pubDate).toLocaleDateString("zh-CN", { timeZone: "Asia/Shanghai" });
lines.push("• <a href=\"" + a.link + "\">" + escapeHtml(a.title) + "</a>"); lines.push("• <a href=\"" + a.link + "\">" + a.title + "</a>");
lines.push(" " + (a.feedName || a.siteUrl) + " · " + date); lines.push(" " + (a.feedName || a.siteUrl) + " · " + date);
} }
await tg("sendMessage", { await tg("sendMessage", {