mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 17:54:54 +02:00
Parse current time as float
This commit is contained in:
parent
09dd90e3fc
commit
e9249430c3
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ class PlaybackSession {
|
|||
this.dayOfWeek = date.format(new Date(), 'dddd')
|
||||
}
|
||||
|
||||
this.timeListening += Number.parseInt(timeListened)
|
||||
this.timeListening += Number.parseFloat(timeListened)
|
||||
this.updatedAt = Date.now()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue