diff --git a/lib/routes/latepost/index.ts b/lib/routes/latepost/index.ts index 6eaaf3fbd..8d0144040 100644 --- a/lib/routes/latepost/index.ts +++ b/lib/routes/latepost/index.ts @@ -101,7 +101,7 @@ async function handler(ctx) { const pubDate = content('div.article-header-date').text(); if (pubDate) { - item.pubDate = /\d+月\d+日/.test(pubDate) ? parseDate(pubDate, ['MM月DD日 HH:mm', 'YYYY年MM月DD日 HH:mm']) : parseRelativeDate(pubDate); + item.pubDate = /\d+月\d+日/.test(pubDate) ? parseDate(pubDate, ['YYYY年MM月DD日 HH:mm', 'MM月DD日 HH:mm']) : parseRelativeDate(pubDate); } item.pubDate = timezone(item.pubDate, +8);