Permalink
Browse files

Merge branch 'master' of ssh://ivt.as.uky.edu/var/www/sites/all/modul…

…es/media_timestamp
  • Loading branch information...
2 parents b204359 + 09e0873 commit 5734fc5dfd8f42082b85fcd9dbf30dce0ae85da4 @noahadler committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 media_timestamp.js
View
@@ -5,7 +5,7 @@ jQuery(document).ready(function() {
function convertTimestampToTime(timestampString)
{
var hms = timestampString.split(',')[0].split(':');
- return parseInt(hms[2]) + 60*parseInt(hms[1]) + 3600*parseInt(hms[0]);
+ return parseInt(hms[2]) + 60*parseFloat(hms[1]) + 3600*parseFloat(hms[0]);
}
// use a slight delay to make sure everything else has executed already

0 comments on commit 5734fc5

Please sign in to comment.