We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dcc69d commit 0f072ecCopy full SHA for 0f072ec
2 files changed
src/manifest.json
@@ -3,7 +3,7 @@
3
4
"name": "Web Activity Time Tracker",
5
"short_name": "Web Time Tracker",
6
- "version": "1.5.1",
+ "version": "1.5.2",
7
"minimum_chrome_version": "26",
8
9
"description": "Track and limit time your activity in the browser every day.",
src/scripts/webact.js
@@ -376,7 +376,7 @@ function setStatData(array) {
376
stat.firstDay = new Date(array[0]).toLocaleDateString('ru-RU');;
377
stat.lastDay = new Date(array[array.length - 1]).toLocaleDateString('ru-RU');;
378
stat.activeDays = array.length;
379
- stat.averageTime = totalTime / array.length;
+ stat.averageTime = Math.round(totalTime / array.length);
380
stat.totalDays = daysBetween(array[0], array[array.length - 1]);
381
}
382
0 commit comments