mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Adds the number of days to config.js
This commit is contained in:
parent
6dea9e4efd
commit
f97f1b55c9
158 changed files with 166 additions and 6 deletions
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
|||
module.exports = {
|
||||
delay: 5000,
|
||||
site: 'programtv.onet.pl',
|
||||
days: 2,
|
||||
url: function ({ date, channel }) {
|
||||
const currDate = dayjs.utc().startOf('d')
|
||||
const day = date.diff(currDate, 'd')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue