Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct parsing of noon #155

Conversation

Samathingamajig
Copy link
Collaborator

before: classes start/ending at noon (or anything 12:xx am/pm) mess up their start/end time, which can also mess up how conflicts are handled

(see the first instance of "endTime", should be 12 * 60 === 720, but an extra 12 hours is added)

image

(this shouldn't be conflicting with a 10am-12pm class)

image

after: corrected

image

image

@Samathingamajig
Copy link
Collaborator Author

who thought 10am --> 11am --> 12pm --> 1pm --> 2pm, and 10pm --> 11pm --> 12am --> 1am --> 2am was a good idea lol

@Razboy20 Razboy20 merged commit 91f62e1 into Longhorn-Developers:main Mar 13, 2024
6 checks passed
@Samathingamajig Samathingamajig deleted the sgunter/fix-correct-parsing-of-noon branch March 13, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants