Skip to content

Commit

Permalink
chore: update appinn publish date
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Nov 3, 2024
1 parent 10ed519 commit 3b28cb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/customize/appinn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = createGenericEndpoint({

return {
title: $(".title").text(),
pubDate: moment($("header > .post-info > .thetime.updated span").text(), "YYYY/MM/DD"),
// 2024-10-29T17:10:11+08:00
pubDate: moment($("head > meta[property='article:published_time']").attr("content"), "YYYY-MM-DDTHH:mm:ssZ").toDate(),
author: $(".theauthor a").text(),
description: content.html(),
};
Expand Down

0 comments on commit 3b28cb4

Please sign in to comment.