fix: wechat official account articles published date not captured because its format is changed
This commit is contained in:
@ -15,7 +15,7 @@ export class WeixinQqHandler extends ContentHandler {
|
||||
// Retrieve the publish time
|
||||
const publishTime = dom.querySelector('#publish_time')?.textContent
|
||||
if (publishTime) {
|
||||
const dateTimeFormat = 'yyyy-LL-dd HH:mm'
|
||||
const dateTimeFormat = 'yyyy年LL月dd日 HH:mm'
|
||||
// published time is in UTC+8
|
||||
const publishTimeISO = DateTime.fromFormat(publishTime, dateTimeFormat, {
|
||||
zone: 'Asia/Shanghai',
|
||||
|
||||
Reference in New Issue
Block a user