Update programtv.onet.pl.config.js

This commit is contained in:
Aleksandr Statciuk 2021-10-05 03:33:24 +03:00
parent 6aad50e71f
commit 39b8492aa5

View file

@ -10,11 +10,8 @@ dayjs.extend(timezone)
dayjs.extend(customParseFormat) dayjs.extend(customParseFormat)
module.exports = { module.exports = {
lang: 'pl',
days: 3, days: 3,
site: 'programtv.onet.pl', site: 'programtv.onet.pl',
channels: 'programtv.onet.pl.channels.xml',
output: '.gh-pages/guides/programtv.onet.pl.guide.xml',
url: function ({ date, channel }) { url: function ({ date, channel }) {
const today = dayjs().utc().startOf('d') const today = dayjs().utc().startOf('d')
const day = date.diff(today, 'd') const day = date.diff(today, 'd')