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 UTC date on Schedule Backfill #2082

Merged
merged 2 commits into from
May 3, 2024

Conversation

laurakwhit
Copy link
Contributor

Description & motivation πŸ’­

Fixes incorrect UTC date on Schedule Backfill. We were using Date.prototype.getDay() which returns the day of the week instead of Date.prototype.getDate() which returns the date of the month. Refactored to a utility function and added unit tests.

Screenshots (if applicable) πŸ“Έ

Design Considerations 🎨

Testing πŸ§ͺ

How was this tested πŸ‘»

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: πŸšΆπŸ½β€β™‚οΈπŸšΆπŸ½β€β™€οΈ

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

DT-2112

Docs

Any docs updates needed?

Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
holocene βœ… Ready (Inspect) Visit Preview May 3, 2024 8:15pm

@laurakwhit laurakwhit merged commit 8d2e63d into main May 3, 2024
10 checks passed
@laurakwhit laurakwhit deleted the DT-2112-fix-utc-date-on-schedule-backfill branch May 3, 2024 21:32
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.

None yet

2 participants