spelling-bee icon indicating copy to clipboard operation
spelling-bee copied to clipboard

timezone issues with game date

Open ConorSheehan1 opened this issue 1 year ago • 1 comments

Users have reported issues related to new games starting at unexpected times, and getting the same game twice

Possible causes:

  1. ~~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 and lastGameDate as date object. Need more info from users https://github.com/ConorSheehan1/spelling-bee/blob/aac7b962daac0aa5c4494233a16b046dc265bfba/src/store.ts#L18

ConorSheehan1 avatar Oct 20 '23 17:10 ConorSheehan1

I've ran into this bug too and it's pretty frustrating. I'm attempting to fix it rn.

stelcodes avatar Jul 09 '24 23:07 stelcodes