mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update unifi.com.my.config.js
This commit is contained in:
parent
a4ef81f20e
commit
e2ff70e3c7
1 changed files with 40 additions and 41 deletions
|
@ -17,7 +17,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
|
'x-requested-with': 'XMLHttpRequest'
|
||||||
},
|
},
|
||||||
data({ date }) {
|
data({ date }) {
|
||||||
const params = new URLSearchParams()
|
const params = new URLSearchParams()
|
||||||
|
@ -58,4 +58,3 @@ function parseStart(item, date) {
|
||||||
const time = `${date.format('YYYY-MM-DD')} ${item.start_time}`
|
const time = `${date.format('YYYY-MM-DD')} ${item.start_time}`
|
||||||
return dayjs.tz(time, 'YYYY-MM-DD H:mma', 'Asia/Kuala_Lumpur')
|
return dayjs.tz(time, 'YYYY-MM-DD H:mma', 'Asia/Kuala_Lumpur')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue