mirror of
https://github.com/iptv-org/epg
synced 2026-04-12 22:02:59 -04:00
update changed meo config w/ dayjs
This commit is contained in:
@@ -97,14 +97,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
function parseStart(item) {
|
||||
return dayjs.tz(`${item.date} ${item.timeIni}`, 'D-M-YYYY HH:mm', 'Europe/Lisbon').utc()
|
||||
}
|
||||
|
||||
function parseStop(item) {
|
||||
return dayjs.tz(`${item.date} ${item.timeEnd}`, 'D-M-YYYY HH:mm', 'Europe/Lisbon').utc()
|
||||
}
|
||||
|
||||
function parseItems(content) {
|
||||
if (!content) return []
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user