Skip to content

fix: Update generateEventData to handle daylight savings#1579

Merged
jbubar merged 2 commits intohackforla:developmentfrom
trillium:ts.fix_timing_bug
Feb 10, 2024
Merged

fix: Update generateEventData to handle daylight savings#1579
jbubar merged 2 commits intohackforla:developmentfrom
trillium:ts.fix_timing_bug

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 danieldkim42@users.noreply.github.com
  • No visual changes

* Move generateEventData to its own file
* Add tests for generateEventData
Co-authored-by: danieldkim42 <danieldkim42@users.noreply.github.com>
@github-actions
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
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