mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: wechat official account articles published date not captured because its format is changed
This commit is contained in:
parent
fdbd182cc3
commit
02280b576b
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue