mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -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
|
@ -7,6 +7,7 @@ dayjs.extend(utc)
|
|||
|
||||
module.exports = {
|
||||
site: 'nowplayer.now.com',
|
||||
days: 2,
|
||||
url: function ({ channel, date }) {
|
||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd') + 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue