r/UBC•
lf_1

I procrastinated finals by making the course catalogue support timezones

Photography & Art
I procrastinated finals by making the course catalogue support timezones

Posted Dec 11, 2020, 11:39 AM UTC

11814
xlarcencielx•

DUDE YOURE SO COOL BE MY FRIEND I WANNA PROCRASTINATE LIKE THIS

27
ubcthrowaway456788•

I can tell from the comments it’s a dudette

8
xlarcencielx•

hahaha i randomly just call people dude, didnt base it on gender :)

12
lightninglambda•

Yeah, 'dude' is a pretty gender neutral term nowadays, much like 'guys'.

12
lf_1OP•

I propose the following phrase: "which dudes are you dating?" as evidence it is not

3†
lf_1OP•

Update: https://chrome.google.com/webstore/detail/ubc-course-timezone-local/hgdmniafekdigegmoekafgcapfgcfmkj?hl=en&authuser=0 it's now available

The code is here: https://github.com/lf-/ssc-tz

Some further details from the GitHub page:

It will highlight days in red if they are different in your timezone than they are in Vancouver, after updating them to be in your local timezone. This is because of the below:

Important Note/Bug: we are not clever enough to change the schedule popup beyond changing the times to local without moving around the entries, so if a date is in red, it is not going to line up with the date on the popup.

I don't have resources to fix this, but if anyone is interested in fixing it, please file a pull request!

This is what that known bug looks like: https://i.imgur.com/WLN6Fkq.png

Thanks to the previous posters who've complained about this issue for the encouragement.

I've submitted it to the Chrome Web Store but who knows when it will pass review. I'll make another post when it gets approved.

To install it, while that is happening: it seems like you probably have to build it yourself and do the "load unpacked" thing, because Chrome has rightfully locked down loading extensions from outside the store as a malware prevention measure.

There are instructions on the GitHub. I'm sorry this process sucks :( I hope it gets approved quicker than they claim this stuff gets approved.

19
DankMemer82Cognitive Systems•

Well I'll be damned! The mad lad actually coded this in just a couple of hours! I'm impressed! Good job OP!!!

18
lf_1OP•

I also have never written a chrome extension before so feel free to tell me what I did wrong :P

Is "mad lass" a term? idk we can make it into one!

17
[deleted]•

[deleted]

3
lf_1OP•

hey hey im not a thing >:(

10
AidenKerrComputer Science•

This is the kind of useful stuff I wish I thought of. Great job.

2
lf_1OP•

Getting easily distracted is my current biggest source of small projects :3

This one I didn't intend to do but I was dumb enough to claim it would be easy to do, and since I find it insufferable when people say stuff is easy off hand (it's often a lie), I felt obligated to sit down and actually implement it.

2
rachit_malik_21Computer Science | TA•

this is really cool! Great job and idea OP! hope it gets approved on the store soon!

2
[deleted]•

[deleted]

1