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: Update generateEventData to handle daylight savings #1579

Merged
merged 2 commits into from
Feb 10, 2024

Conversation

trillium
Copy link
Member

Fixes #1411

What changes did you make and why did you make them ?

  • move generateEventData to its own file
  • create tests for generateEventData that cross daylight savings boundary
  • Co-authored-by: danieldkim42 [email protected]
  • No visual changes

* Move generateEventData to its own file
* Add tests for generateEventData
Co-authored-by: danieldkim42 <[email protected]>
Copy link

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.

git checkout -b Spiteless-ts.fix_timing_bug development
git pull https://github.com/Spiteless/VRMS.git ts.fix_timing_bug

Copy link
Member

@danieldkim42 danieldkim42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. File changed from createRecurringEvents.js to generateEventData.js. Test file covers daylight savings and normal time checks. generateEventData now successfully checks daylight time before creating new event data

Copy link
Member

@jbubar jbubar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still looking into this. but I wanted to approve it so that if you felt like you needed to merge it you could

@jbubar jbubar merged commit 2322f3d into hackforla:development Feb 10, 2024
5 checks passed
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.

Bug: Users Cannot Check In
3 participants