diff --git a/2018/June/post.md b/2018/June/post.md
index c4751b6..b20c61c 100644
--- a/2018/June/post.md
+++ b/2018/June/post.md
@@ -121,25 +121,25 @@ Written Date: 2018-06-24
**This will be regenerated on June 30th and are not the final statistics.**
-In the month of June 45 issues were opened and 19 issues were closed.
+In the month of June 47 issues were opened and 19 issues were closed.
-An average of 1.50 issues were opened and 0.63 issues were closed each day.
+An average of 1.57 issues were opened and 0.63 issues were closed each day.
The average time to close issues was 8.56 days or 205.34 hours.
Top 3 issue creators:
* [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro).
-* [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
+* [Deimorz](https://gitlab.com/Deimorz) with [9 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
* [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode).
Amount of labels assigned to currently open issues:
-* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times.
-* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times.
-* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 times.
+* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 11 times.
+* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 time.
+* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times.
-* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 times.
+* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 time.
* [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times.
@@ -147,10 +147,10 @@ Amount of labels assigned to currently open issues:
Amount of labels assigned to closed issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times.
-* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times.
-* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 times.
+* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 time.
+* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times.
-* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 times.
+* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 time.
* [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times.
@@ -236,6 +236,8 @@ Amount of labels assigned to closed issues:
| 141 | Add "whisper comments" | Natanael_L | 2018/06/21 12:49:12 | |
| 142 | Add autocomplete for common tags | Deimorz | 2018/06/21 18:50:16 | |
| 143 | iOS - clicking a tag in a group page results in... | cfabbro | 2018/06/23 22:35:14 | |
+| 144 | More favicons for site-topic | Bauke | 2018/06/25 13:52:59 | |
+| 145 | Topic tag filters are not filtering out "descen... | Deimorz | 2018/06/25 22:13:02 | |
### Closed
diff --git a/2018/June/statistics.md b/2018/June/statistics.md
index 23d911d..6009d73 100644
--- a/2018/June/statistics.md
+++ b/2018/June/statistics.md
@@ -1,24 +1,24 @@
## Statistics
-In the month of June 45 issues were opened and 19 issues were closed.
+In the month of June 47 issues were opened and 19 issues were closed.
-An average of 1.50 issues were opened and 0.63 issues were closed each day.
+An average of 1.57 issues were opened and 0.63 issues were closed each day.
The average time to close issues was 8.56 days or 205.34 hours.
Top 3 issue creators:
* [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro).
-* [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
+* [Deimorz](https://gitlab.com/Deimorz) with [9 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
* [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode).
Amount of labels assigned to currently open issues:
-* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times.
-* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times.
-* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 times.
+* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 11 times.
+* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 time.
+* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times.
-* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 times.
+* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 time.
* [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times.
@@ -26,10 +26,10 @@ Amount of labels assigned to currently open issues:
Amount of labels assigned to closed issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times.
-* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times.
-* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 times.
+* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 time.
+* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times.
-* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 times.
+* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 time.
* [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times.
diff --git a/2018/June/table.md b/2018/June/table.md
index 8f8a53d..c2c15ea 100644
--- a/2018/June/table.md
+++ b/2018/June/table.md
@@ -49,6 +49,8 @@
| 141 | Add "whisper comments" | Natanael_L | 2018/06/21 12:49:12 | |
| 142 | Add autocomplete for common tags | Deimorz | 2018/06/21 18:50:16 | |
| 143 | iOS - clicking a tag in a group page results in... | cfabbro | 2018/06/23 22:35:14 | |
+| 144 | More favicons for site-topic | Bauke | 2018/06/25 13:52:59 | |
+| 145 | Topic tag filters are not filtering out "descen... | Deimorz | 2018/06/25 22:13:02 | |
### Closed
diff --git a/main.js b/main.js
index fe2d248..0e52ea9 100644
--- a/main.js
+++ b/main.js
@@ -179,13 +179,17 @@ function createStatistics() {
let labels = labelsAlphabet(opened, true)
statistics += '\nAmount of labels assigned to currently open issues:\n\n'
for (const label in labels) {
- statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n`
+ statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} `
+ if (labels[label] === 1) statistics += 'time.\n'
+ else statistics += 'times.\n'
}
labels = labelsAlphabet(closed, false)
statistics += '\nAmount of labels assigned to closed issues:\n\n'
for (const label in labels) {
- statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n`
+ statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} `
+ if (labels[label] === 1) statistics += 'time.\n'
+ else statistics += 'times.\n'
}
fs.writeFileSync(path.join(__dirname, year, month, 'statistics.md'), statistics, {encoding: 'UTF-8'})