fix getSecondsFromTimestamp with milliseconds

This commit is contained in:
dcharbonnier 2017-12-29 12:46:29 +01:00 committed by GitHub
parent 53fdf0a0fd
commit cbba8b8828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,7 +327,7 @@ class vttThumbnailsPlugin {
return parseInt((timestampParts.hours * (60 * 60)) + return parseInt((timestampParts.hours * (60 * 60)) +
(timestampParts.minutes * 60) + (timestampParts.minutes * 60) +
timestampParts.seconds + timestampParts.seconds +
(timestampParts.milliseconds * 1000)) (timestampParts.milliseconds / 1000))
} }
trim (str, charlist) { trim (str, charlist) {