Apexal / late

A web app for RPI students to manage their course load.
https://www.late.work
MIT License
54 stars 19 forks source link

Timezone Issue #635

Open Jerome-Carter opened 4 years ago

Jerome-Carter commented 4 years ago

Describe the bug On the dashboard, there is a feature that shows that a student has a lecture or lab in progress. I was on my other machine, which has an incorrect timezone, and the feature showed that the wrong class was in progress.

To Reproduce optional Steps to reproduce the behavior:

  1. Put in an incorrect timezone (e.g. Western)
  2. Go to the dashboard

Expected behavior Expect that lecture in progress notification is relative to RPI time zone (EST)

Device Window... haven't tested Mac but probably the same behavior

Jerome-Carter commented 4 years ago

Important for non-EST-based users

Apexal commented 4 years ago

Damn. This is due to period times being stored in HH:mm format with no timezone included. Damn coronavirus... I'll figure this out ASAP. Great catch.

Jerome-Carter commented 4 years ago

Glad to help! <3