add note on the ts/creationDate fields

This commit is contained in:
Girish Ramakrishnan
2020-12-06 11:32:05 -08:00
parent 6c79aaae49
commit 68c36ca353
+2 -2
View File
@@ -428,7 +428,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
do {
var offset = moment().subtract(i++, 'days');
tmp = apps.filter(function (app) { return moment(app.ts).isAfter(offset); });
tmp = apps.filter(function (app) { return moment(app.ts).isAfter(offset); }); // ts here is from appstore's apps table
} while(tmp.length < minApps);
return tmp;
@@ -441,7 +441,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
do {
var offset = moment().subtract(i++, 'days');
tmp = apps.filter(function (app) { return moment(app.creationDate).isAfter(offset); });
tmp = apps.filter(function (app) { return moment(app.creationDate).isAfter(offset); }); // creationDate here is from appstore's appversions table
} while(tmp.length < minApps);
return tmp;