Skip to content

Commit

Permalink
fix(route): 星岛日报时区处理修正 (DIYgod#12744)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx authored and nczitzk committed Aug 26, 2023
1 parent d209503 commit c62c1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/stheadline/std/realtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(response);

item.description = $('.paragraphs').html();
item.pubDate = timezone(parseDate($('.content .date').text()));
item.pubDate = timezone(parseDate($('.content .date').text()), +8);

return item;
})
Expand Down

0 comments on commit c62c1c7

Please sign in to comment.