mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update programtv.onet.pl.config.js
This commit is contained in:
parent
0a432bd238
commit
b7485badeb
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
delay: 5000,
|
delay: 5000,
|
||||||
site: 'programtv.onet.pl',
|
site: 'programtv.onet.pl',
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const currDate = dayjs.utc().startOf('d')
|
const currDate = dayjs.utc().startOf('d').add(1, 'm')
|
||||||
const day = currDate.diff(date, 'd')
|
const day = currDate.diff(date, 'd')
|
||||||
|
|
||||||
return `https://programtv.onet.pl/program-tv/${channel.site_id}?dzien=${day}`
|
return `https://programtv.onet.pl/program-tv/${channel.site_id}?dzien=${day}`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue