improved formatting of durations in url

This commit is contained in:
rlx 2011-08-24 21:11:02 +00:00
parent c851db9d05
commit 1a57dff024

View file

@ -107,7 +107,7 @@ pandora.URL = (function() {
return prev + (parseFloat(curr) || 0) * Math.pow(60, i);
}, 0);
i == 0 && pandora.UI.set(['videoPosition', item].join('|'), point);
return Ox.formatDuration(point);
return Ox.formatDuration(point, 2).replace(/\.00$/, '');
}).join('-');
pandora.URL.replace(split.join('/'))
}