Skip to content

Commit

Permalink
fix(route/huggingface): sanitize the pubDate value to capture blog pu…
Browse files Browse the repository at this point in the history
…blication date (#17016)
  • Loading branch information
jhcao1024 authored Oct 6, 2024
1 parent 77bf780 commit 8a60688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/huggingface/blog-zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function handler() {
title: item.blog.title,
link: `https://huggingface.co${item.link}`,
category: item.blog.tags,
pubDate: parseDate(item.blog.date),
pubDate: parseDate(item.blog.publishedAt),
author: item.blog.author,
}));

Expand Down

0 comments on commit 8a60688

Please sign in to comment.