Skip to content

Commit ee53199

Browse files
author
Cookiezaurs
committed
lint
1 parent c0cb8f2 commit ee53199

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/express/public/javascripts/countly/countly.common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4563,7 +4563,7 @@
45634563
* @returns {string} return format "Xh Xm Xs", if trimTo is specified the length of the result is trimmed
45644564
* @example trimTo = 2, "Xh Xm Xs" result will be trimmed to "Xh Xm"
45654565
*/
4566-
countlyCommon.formatSecond = function(second, trimTo = 5, digitsAfterComma =1) {
4566+
countlyCommon.formatSecond = function(second, trimTo = 5, digitsAfterComma = 1) {
45674567
var timeLeft = parseFloat(second);
45684568
var dict = [
45694569
{k: 'year', v: 31536000},
@@ -4572,7 +4572,7 @@
45724572
{k: 'minute', v: 60},
45734573
{k: 'second', v: 1}
45744574
];
4575-
if(digitsAfterComma < 0 || digitsAfterComma > 10){
4575+
if (digitsAfterComma < 0 || digitsAfterComma > 10) {
45764576
digitsAfterComma = 0;
45774577
}
45784578
var result = {year: 0, day: 0, hour: 0, minute: 0, second: 0};

0 commit comments

Comments
 (0)