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 bug causing games to restart at incorrect times #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stelcodes
Copy link

@stelcodes stelcodes commented Jul 10, 2024

Previously the game to be played was determined by using the UTC date at runtime. This was problematic because the UTC date can differ from the user's local date, causing games to switch over at all times of day depending on where in the world the user was located. Now the game to be played is determined by using the local date at runtime and switches over into the next game when the local date changes.


Love the game! It's my favorite Spelling Bee clone. I want to help fix this bug because I've been running into it.

Fixes #37

Previously the game to be played was determined by using the UTC date at
runtime. This was problematic because the UTC date can differ from the
user's local date, causing games to switch over at all times of day
depending on where in the world the user was located. Now the game to be
played is determined by using the local date at runtime and switches
over into the next game when the local date changes.
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.

timezone issues with game date
1 participant