Updated CM.Disp.GetTimeColor v2
This commit is contained in:
@@ -1149,7 +1149,7 @@ CM.Disp.FormatTime = function(time, longFormat) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function returns returns the color to be used for time-strings
|
* This function returns the color to be used for time-strings
|
||||||
* @param {number} time Time to be coloured
|
* @param {number} time Time to be coloured
|
||||||
* @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array
|
* @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ CM.Disp.FormatTime = function(time, longFormat) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function returns returns the color to be used for time-strings
|
* This function returns the color to be used for time-strings
|
||||||
* @param {number} time Time to be coloured
|
* @param {number} time Time to be coloured
|
||||||
* @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array
|
* @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user