Fix gatotv.com

This commit is contained in:
Aleksandr Statciuk
2022-05-10 20:11:19 +03:00
parent ec19910902
commit 42720ad62c
2 changed files with 12 additions and 12 deletions

View File

@@ -82,14 +82,14 @@ function parseStart($item, date) {
let time = $item('td:nth-child(1) > div > time').attr('datetime')
time = `${date.format('YYYY-MM-DD')} ${time}`
return dayjs.tz(time, 'YYYY-MM-DD HH:mm', dayjs.tz.guess())
return dayjs.tz(time, 'YYYY-MM-DD HH:mm', 'America/New_York')
}
function parseStop($item, date) {
let time = $item('td:nth-child(2) > div > time').attr('datetime')
time = `${date.format('YYYY-MM-DD')} ${time}`
return dayjs.tz(time, 'YYYY-MM-DD HH:mm', dayjs.tz.guess())
return dayjs.tz(time, 'YYYY-MM-DD HH:mm', 'America/New_York')
}
function parseItems(content) {