mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update tvcubana.icrt.cu.config.js
This commit is contained in:
parent
24e3f50efc
commit
dfbda9a64b
1 changed files with 3 additions and 5 deletions
|
@ -3,14 +3,12 @@ const timezone = require('dayjs/plugin/timezone')
|
||||||
|
|
||||||
dayjs.extend(timezone)
|
dayjs.extend(timezone)
|
||||||
|
|
||||||
require('dayjs/locale/es')
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'tvcubana.icrt.cu',
|
site: 'tvcubana.icrt.cu',
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://www.tvcubana.icrt.cu/cartv/${channel.site_id}/${date
|
const daysOfWeek = ['domingo', 'lunes', 'martes', 'miercoles', 'jueves', 'viernes', 'sabado']
|
||||||
.locale('es')
|
|
||||||
.format('dddd')}.php`
|
return `https://www.tvcubana.icrt.cu/cartv/${channel.site_id}/${daysOfWeek[date.day()]}.php`
|
||||||
},
|
},
|
||||||
logo({ channel }) {
|
logo({ channel }) {
|
||||||
return channel.logo
|
return channel.logo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue