mirror of
https://github.com/cupcakearmy/dvb.git
synced 2024-11-05 17:14:11 +01:00
18 lines
316 B
JavaScript
18 lines
316 B
JavaScript
'use strict'
|
|
|
|
const S = {
|
|
stations: [33000312, 33000311],
|
|
url: 'https://webapi.vvo-online.de/dm'
|
|
}
|
|
|
|
function parseTime(str) {
|
|
if (str === undefined)
|
|
return
|
|
if (str instanceof Date)
|
|
return str
|
|
return new Date(parseInt(str.slice(6, -2).split('+')[0]))
|
|
}
|
|
|
|
new Vue({
|
|
el: '#app'
|
|
}) |