mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 03:16:53 -05:00
Update skylink.cz.config.js
timezone
This commit is contained in:
@@ -6,6 +6,7 @@ const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
dayjs.extend(customParseFormat)
|
||||
const tz = 'Europe/Prague'
|
||||
|
||||
module.exports = {
|
||||
site: 'skylink.cz',
|
||||
@@ -47,7 +48,7 @@ function parseList(list) {
|
||||
return typeof list === 'string' ? list.split(',') : []
|
||||
}
|
||||
function parseTime(time) {
|
||||
return dayjs.utc(time, 'DD.MM.YYYY HH.mm')
|
||||
return dayjs(time, 'DD.MM.YYYY HH.mm').tz(tz)
|
||||
}
|
||||
|
||||
function parseCategory(item) {
|
||||
|
||||
Reference in New Issue
Block a user