readme sorting

This commit is contained in:
tree🌴 2024-02-13 14:27:51 +01:00
parent c93c334623
commit 89688f4b0f
3 changed files with 6 additions and 3 deletions

View file

@ -16,4 +16,7 @@ sync:
make build readme make build readme
compile: compile:
cp -r web/dist/** dist cp -r web/dist/** dist
fmt:
deno fmt utils/*.js

View file

@ -19,7 +19,7 @@ You can read more in our [documentation](https://docs.web3privacy.info/news/week
| Week | Period | Deadline | Curator | Links | | Week | Period | Deadline | Curator | Links |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| [2024-07](/data/2024/week07.md) | Feb 12 - Feb 18 | Feb 18 | Mykola | [Edit](https://github.com/web3privacy/news/edit/main/data/2024/week07.md) | | [2024-07](/data/2024/week07.md) | Feb 12 - Feb 18 | Feb 18 | Mykola | [Edit](https://github.com/web3privacy/news/edit/main/data/2024/week07.md) |
| [2024-05](/data/2024/week05.md) | Jan 29 - Feb 4 | ✅ [published](https://news.web3privacy.info/2024-05) | - | [Paragraph](https://paragraph.xyz/@privacynews/2024-05) |
| [2024-06](/data/2024/week06.md) | Feb 5 - Feb 11 | ✅ [published](https://news.web3privacy.info/2024-06) | Tree | [Paragraph](https://paragraph.xyz/@privacynews/2024-06), [Mirror](https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/YeescUmT44QN7Hv4a9L6GuK6LZS0N5VO-4g7NnYHNbo) | | [2024-06](/data/2024/week06.md) | Feb 5 - Feb 11 | ✅ [published](https://news.web3privacy.info/2024-06) | Tree | [Paragraph](https://paragraph.xyz/@privacynews/2024-06), [Mirror](https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/YeescUmT44QN7Hv4a9L6GuK6LZS0N5VO-4g7NnYHNbo) |
| [2024-05](/data/2024/week05.md) | Jan 29 - Feb 4 | ✅ [published](https://news.web3privacy.info/2024-05) | - | [Paragraph](https://paragraph.xyz/@privacynews/2024-05) |
<!-- ISSUES-END --> <!-- ISSUES-END -->

View file

@ -5,7 +5,7 @@ function capitalizeFirstLetter(string) {
} }
let issues = JSON.parse(await Deno.readTextFile("./dist/index.json")); let issues = JSON.parse(await Deno.readTextFile("./dist/index.json"));
issues = issues.sort((x, y) => x.period[1] > y.period[1] ? 1 : -1); issues = issues.sort((x, y) => x.period[0] > y.period[0] ? -1 : 1);
const lines = []; const lines = [];