Merged
Conversation
- Base event time off of event.startTime rather than event.date
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1411
What changes did you make and why did you make them ?
The bug we were experiencing was because events were being based off of the
event.dateproperty rather than theevent.startTimeproperty. When thecreateAndFilterEventsworker ran, it was using old data that the user wasn't setting within the app.There are already helper functions made on the front end to transfer a timestamp from
6:00 PMto a valid Date object. The recurring events model has these saved in theory at the right spots, but it is also recommended that project managers update their start times of their events within the app.If they wish to keep their start times, please update them twice eg
7:00 PMto6:00 PMand back to7:00 PM. This way we can ensure that the correct startTime is saved in thedb.