diff --git a/content/news/2021/fall/2021-09-12-n3parikh.md b/content/news/2021/fall/2021-09-12-n3parikh.md index 8a6033f1..3d32fba9 100644 --- a/content/news/2021/fall/2021-09-12-n3parikh.md +++ b/content/news/2021/fall/2021-09-12-n3parikh.md @@ -1,8 +1,8 @@ --- author: 'n3parikh' -date: 'Wed Sep 12 2021 01:00:00 GMT-0400 (Eastern Daylight Time)' +date: 'Wed Sep 12 2021 00:00:00 GMT-0400 (Eastern Daylight Time)' --- -📢 UW’s Tech Clubs are proud to present to you Bootcamp! This event is a new initiative brought to you to help sharpen your resumes happening on September 19th from 6 PM to 10 PM ET. +📢 UW’s Tech Clubs are proud to present to you Bootcamp! This event is a new initiative brought to you to help sharpen your resumes happening on September 19th from 6 PM to 10 PM ET. At this time, we are looking for mentors who are willing to critique resumes, and the applications have officially opened. 📝 In order to qualify to be a mentor, you must at least have started your second coop. This is a great opportunity to help others with the knowledge you have, and make a difference in the UW Tech community. @@ -10,6 +10,6 @@ If that interests you, please sign up! 💻 We’ll be emailing you more informa 👉 Sign up at https://bit.ly/bootcamp-resumes-interviews -Alternatively, you can email us at exec@csclub.uwaterloo.ca specifying that you have started at least your second co-op, your current education path, and your numerical Discord ID. +Alternatively, you can email us at exec@csclub.uwaterloo.ca specifying that you have started at least your second co-op, your current education path, and your numerical Discord ID. 📅 Deadline to Sign Up: Friday 17th September 11:59 PM ET diff --git a/lib/news.ts b/lib/news.ts index a5ce2bc7..2db87948 100644 --- a/lib/news.ts +++ b/lib/news.ts @@ -91,12 +91,9 @@ export async function getRecentNews(): Promise { ) ).flat(); - return news - .filter((news) => new Date(news.metadata.date).getTime() <= Date.now()) - .sort((a, b) => { - return ( - new Date(b.metadata.date).getTime() - - new Date(a.metadata.date).getTime() - ); - }); + return news.sort((a, b) => { + return ( + new Date(b.metadata.date).getTime() - new Date(a.metadata.date).getTime() + ); + }); }