Adds the number of days to config.js
This commit is contained in:
1 parent
6dea9e4efd
commit
f97f1b55c9
158 files changed
+166
-6
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user