Update mediaset.it.config.js
This commit is contained in:
1 parent
adc44b5bf7
commit
a32f80a0ff
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
const timezone = require('dayjs/plugin/timezone')
|
||||
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(customParseFormat)
|
||||
@@ -51,4 +52,4 @@ module.exports = {
|
||||
|
||||
function parseStart(item, date) {
|
||||
return dayjs.tz(`${date.format('YYYY-MM-DD')} ${item.startTime}`, 'YYYY-MM-DD HH:mm', 'Europe/Rome')
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user