feat: add exactDate flag to weekly news data attributes to enable calculating period based on exact date

This commit is contained in:
0xdevant 2024-09-23 19:10:03 +08:00
parent 5a33baea47
commit 551834b18b
No known key found for this signature in database
GPG key ID: 3B0072B3F5B415CB
2 changed files with 23 additions and 7 deletions

View file

@ -1,5 +1,6 @@
---
curator: mykola
exactDate: 2024-9-23
---
<!--
@ -21,6 +22,7 @@ curator: mykola
---
### Releases
- Panther [Testnet 6 is live](https://x.com/ZKPanther/status/1805632128308150560)
- RariMe [Self-custody identity wallet](https://rarime.com)
- Stack Wallet [2.1.1](https://x.com/stack_wallet/status/1807108936991904044), [GitHub](https://github.com/cypherstack/stack_wallet)
@ -28,6 +30,7 @@ curator: mykola
---
### Ecosystem
- [Aztec launched Aztec new website](https://aztec.network)
- [Electroin Coin & Co weekly](https://forum.zcashcommunity.com/t/cash-is-dead-long-live-digital-cash-ecc-weekly-update/48042)
- [HOPR dev update](https://x.com/hoprnet/status/1805254456159748300)
@ -39,6 +42,7 @@ curator: mykola
---
### Podcasts
- [The Importance of Privacy in Web3](https://www.youtube.com/watch?v=W-jz3z5AB9s) DeCC Day @ Consensus 2024 Austin
- [Privacy Preserving ML with Fully Homomorphic Encryption](https://www.youtube.com/watch?v=g1Zlu63TP0Y) by Jordan Frery, Concrete ML Tech Lead and Research at Zama, Benoit Chevallier-Mames, VP Cloud and ML at Zama
- [Building the endgame for blockchain privacy](https://www.youtube.com/watch?v=bikZpQH4_dI) by Savio, Product Manager at Aztec Labs
@ -53,13 +57,19 @@ curator: mykola
---
### Governments
- Cointelegraph: [Privacy-minded' CBDCs are a wolf in sheeps clothinge](https://cointelegraph.com/news/privacy-minded-cbdcs-wolf-sheeps-clothing)
---
### Research
- [Greco: Fast Zero-Knowledge Proofs for Valid FHE RLWE Ciphertexts Formation](https://www.youtube.com/watch?v=UeV1zhbdVPI) by Enrico Bottazzi
---
### Other
- [Make Cypherpunk - one Ethereum block at a time](https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/u4ELDt0YkpCe272kD2f5kTThJsILg1pgaOeBsTSGV0I) article by Mykola Siusko x Web3Privacy Now
- [ID Verification Service for TikTok, Uber, X Exposed Driver Licenses!](https://www.404media.co/id-verification-service-for-tiktok-uber-x-exposed-driver-licenses-au10tix/)
- [Julian Assange is free](https://x.com/wikileaks/status/1805390138945528183)
@ -68,10 +78,11 @@ curator: mykola
---
### Upcoming events
*(new/changes in **bold**)*
* Jul 10, [Shielding Summit](https://shieldingsummit.org) (Brussels)
* Jul 12, [Web3Privacy Now "Occupy meetup"](https://lu.ma/w3pn-meetup-bru1)
* Oct 4-6, [Hackers Congress Paralelní Polis (HCPP)](https://hcpp.cz/) (Prague) conference
* Oct 4-6, [ETHRome](https://ethrome.org/) hackathon
* Oct, [ETHBrno](https://ethbrno.cz/) privacy hackathon
_(new/changes in **bold**)_
- Jul 10, [Shielding Summit](https://shieldingsummit.org) (Brussels)
- Jul 12, [Web3Privacy Now "Occupy meetup"](https://lu.ma/w3pn-meetup-bru1)
- Oct 4-6, [Hackers Congress Paralelní Polis (HCPP)](https://hcpp.cz/) (Prague) conference
- Oct 4-6, [ETHRome](https://ethrome.org/) hackathon
- Oct, [ETHBrno](https://ethbrno.cz/) privacy hackathon

View file

@ -18,7 +18,12 @@ function capitalizeFirstLetter(string) {
<div class=`sm:flex w-full p-4 sm:p-6 bg-white/10`>
<div class="grid gap-2 sm:gap-6 sm:flex items-center">
<h1 class="text-2xl"><a href=`/${issue.week}`>Week {issue.week.split('-').reverse().join('/')}</a></h1>
<div class=`text-xl ${current ? "text-white/50" : ""}`>{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}</div>
<div class=`text-xl ${current ? "text-white/50" : ""}`>
{issue.exactDate
? format(issue.exactDate.toString(), "MMM d") + " - " + format(addDays(issue.exactDate.toString(), 6), "MMM d, yyyy")
: format(issue.period[0], "MMM d") + " - " + format(issue.period[1], "MMM d, yyyy")
}
</div>
{!issue.published &&
<div class="text-white">🚧 Future edition</div>
}