spelling-bee
spelling-bee copied to clipboard
timezone issues with game date
Users have reported issues related to new games starting at unexpected times, and getting the same game twice
Possible causes:
- ~~Truncating date time here~~ https://github.com/ConorSheehan1/spelling-bee/blob/1dd95c5d3760b7888df616e5d842de9df5035733/src/store.ts#L103
~~May need to store date + timezone info, and call to isoString for all comparisons~~
already storing
gameDate
andlastGameDate
as date object. Need more info from users https://github.com/ConorSheehan1/spelling-bee/blob/aac7b962daac0aa5c4494233a16b046dc265bfba/src/store.ts#L18
I've ran into this bug too and it's pretty frustrating. I'm attempting to fix it rn.