This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function to convert to human readable time | |
function millisecondsToStr(milliseconds) { | |
function numberEnding (number) { | |
return (number > 1) ? 's left' : ' left'; | |
} | |
var temp = Math.floor(milliseconds / 1000); |
OlderNewer