mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update andorradifusio.ad.config.js
This commit is contained in:
parent
4933883a00
commit
fbc570d39f
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ function parseStart(item, date) {
|
|||
|
||||
function parseItems(content, date) {
|
||||
const $ = cheerio.load(content)
|
||||
const dayOfWeek = date.locale('ca').format('dddd').toLowerCase()
|
||||
const dayOfWeek = dayjs(date).locale('ca').format('dddd').toLowerCase()
|
||||
const column = $('.programacio-dia > h3')
|
||||
.filter((i, el) => $(el).text().startsWith(dayOfWeek))
|
||||
.first()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue