diff --git a/lib/routes/kcna/news.ts b/lib/routes/kcna/news.ts index 2d78104a7c814a..53aa7edb78fbe4 100644 --- a/lib/routes/kcna/news.ts +++ b/lib/routes/kcna/news.ts @@ -89,7 +89,7 @@ async function handler(ctx) { item.title = $('article-main-title').text() || item.title; const dateElem = $('.publish-time'); - const dateString = dateElem.text().match(/\d+\.\d+\.\d+/)); + const dateString = dateElem.text().match(/\d+\.\d+\.\d+/); dateElem.remove(); item.pubDate = dateString ? timezone(parseDate(dateString[0]), +9) : item.pubDate;