Skip to content

Commit 011e610

Browse files
authored
Update countly.common.js
1 parent 46a7995 commit 011e610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/lib/countly.common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ function getUniqArray(pweeksArray, pweekCounts, pmonthsArray, pmonthCounts, pper
20132013

20142014
for (var i = startIndex; i < limit; i++) {
20152015
// If there isn't already a monthly bucket for that day
2016-
if (monthsArray[i] === 0) {
2016+
if (parseInt(monthsArray[i]) === 0) {
20172017
uniquePeriods[i] = periodArr[i];
20182018
}
20192019
}
@@ -2160,4 +2160,4 @@ function arrayAddUniq(arr, item) {
21602160
}
21612161
}
21622162

2163-
module.exports = countlyCommon;
2163+
module.exports = countlyCommon;

0 commit comments

Comments
 (0)