Commit Graph

4 Commits

Author SHA1 Message Date
Aditya Thakral 47352f4e82 Change date format for events and news (#343)
continuous-integration/drone/push Build is passing Details
https://csclub.uwaterloo.ca/~a3thakra/csc/adi-event-dates

Reviewed-on: #343
Reviewed-by: b38peng <b38peng@uwaterloo.ca>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-10-13 21:36:08 -04:00
Aditya Thakral 64b9ae9623 Add missing news (#275)
continuous-integration/drone/push Build is passing Details
The script missed some news items, where the author and the date was the
same. I appended all news with a uuid to make sure that we are not
over-writing an already existing news.

Reviewed-on: #275
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-09-03 18:16:27 -04:00
Aditya Thakral 61c440c5eb Use full date strings for news files (#177)
continuous-integration/drone/push Build is passing Details
If we don't, then `new Date(dateString)` actually interprets it as time in UTC, which is 4/5 hours ahead of EDT/EST. This means that the actual date in the news card is 1 day before the actual date.

https://csclub.uwaterloo.ca/~a3thakra/csc/adi-news-dates

Reviewed-on: #177
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-08-27 14:19:27 -04:00
Aditya Thakral 8b9389885c Add helper functions for news archive (#145) + Add /news/archive and /news/[year]/[term] pages (#146)
continuous-integration/drone/push Build is passing Details
Closes #138

Reviewed-on: #145
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-08-17 15:22:19 -04:00