set dayStart when is empty
This commit is contained in:
parent
b1366d244c
commit
7f4bd7f07b
@ -1,5 +1,8 @@
|
||||
export default ({ app }, inject) => {
|
||||
inject('processPlaylist', (dayStart, list) => {
|
||||
if (!dayStart) {
|
||||
dayStart = '00:00:00'
|
||||
}
|
||||
const [h, m, s] = dayStart.split(':')
|
||||
let begin = parseFloat(h) * 3600 + parseFloat(m) * 60 + parseFloat(s)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user