Update meo.pt.config.js
This commit is contained in:
@@ -42,13 +42,13 @@ module.exports = {
|
|||||||
function parseStart(item) {
|
function parseStart(item) {
|
||||||
return DateTime.fromFormat(`${item.date} ${item.timeIni}`, 'd-M-yyyy HH:mm', {
|
return DateTime.fromFormat(`${item.date} ${item.timeIni}`, 'd-M-yyyy HH:mm', {
|
||||||
zone: 'Europe/Lisbon'
|
zone: 'Europe/Lisbon'
|
||||||
})
|
}).toUTC()
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseStop(item) {
|
function parseStop(item) {
|
||||||
return DateTime.fromFormat(`${item.date} ${item.timeEnd}`, 'd-M-yyyy HH:mm', {
|
return DateTime.fromFormat(`${item.date} ${item.timeEnd}`, 'd-M-yyyy HH:mm', {
|
||||||
zone: 'Europe/Lisbon'
|
zone: 'Europe/Lisbon'
|
||||||
})
|
}).toUTC()
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseItems(content) {
|
function parseItems(content) {
|
||||||
|
|||||||
Reference in New Issue
Block a user