Update meo.pt.config.js
This commit is contained in:
1 parent
a916411635
commit
8090ce975a
1 file changed
+2
-2
@@ -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