Skip to content

Commit

Permalink
fix(route/zjut): fix the date parser of 浙江工业大学首页 (#17299)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhullyb authored Oct 25, 2024
1 parent 8f815d6 commit 765a382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/zjut/www/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function handler(ctx) {
} else if (!link.startsWith('http')) {
link = rootUrl.slice(0, -1) + link;
}
const pubDate = timezone(parseDate(cheerioItem.find('.news_meta').text().slice(1, -1)), +8);
const pubDate = timezone(parseDate(cheerioItem.find('.news_meta').text()), +8);

return {
title,
Expand Down

0 comments on commit 765a382

Please sign in to comment.