mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 03:16:53 -05:00
Update directv.com.ar.config.js
Fix: without these the time zone conversion does not work
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;
|
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0
|
||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
const utc = require('dayjs/plugin/utc')
|
const utc = require('dayjs/plugin/utc')
|
||||||
const timezone = require('dayjs/plugin/timezone')
|
const timezone = require('dayjs/plugin/timezone')
|
||||||
|
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||||
|
|
||||||
dayjs.extend(utc)
|
dayjs.extend(utc)
|
||||||
dayjs.extend(timezone)
|
dayjs.extend(timezone)
|
||||||
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'directv.com.ar',
|
site: 'directv.com.ar',
|
||||||
|
|||||||
Reference in New Issue
Block a user