1612
This commit is contained in:
1 parent
8aa52a0dc1
commit
b4ece4e772
1 file changed
+1
-1
@@ -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", {
|
||||||
|
|||||||
Reference in new issue
Block a user