mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add comment
This commit is contained in:
parent
a818fa721c
commit
a3fa695957
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ export class WeixinQqHandler extends ContentHandler {
|
|||
const publishTime = dom.querySelector('#publish_time')?.textContent
|
||||
if (publishTime) {
|
||||
const dateTimeFormat = 'yyyy-LL-dd HH:mm'
|
||||
// published time is in UTC+8
|
||||
const publishTimeISO = DateTime.fromFormat(publishTime, dateTimeFormat, {
|
||||
zone: 'Asia/Shanghai',
|
||||
}).toISO()
|
||||
|
|
|
|||
Loading…
Reference in a new issue