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

Updated frontend call to include local timezone #2314

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alexjanousekGSA
Copy link
Contributor

@alexjanousekGSA alexjanousekGSA commented Jan 30, 2025

Fixes issue #2204
Related to PR - 1547

Changes

  • Updated fetchData for daily_stats.json to include the user's local timezone when making requests.
  • Ensures stats are displayed in the correct local time instead of defaulting to UTC.
  • Verified changes with API updates to ensure correct date conversions and display.

##Testing

  • To verify testing works, after merging, an text needs to be send from dev environment after 6pm est and the results should show up almost immediately for today instead of having to wait for tomorrow to see results for the wrong day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
1 participant