mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update directv.com.ar.config.js
Fix: without these the time zone conversion does not work
This commit is contained in:
parent
e053cd5779
commit
2170d3db10
1 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue