Added annotations to CM.Disp.FormatTime
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
// General functions to format or beautify strings
|
||||
|
||||
/**
|
||||
* This function returns time as a string depending on TimeFormat setting
|
||||
* @param type Time as number, longFormat 1 or 0.
|
||||
*/
|
||||
CM.Disp.FormatTime = function(time, longFormat) {
|
||||
if (time == Infinity) return time;
|
||||
time = Math.ceil(time);
|
||||
|
||||
Reference in New Issue
Block a user