Skip to content

Commit

Permalink
fix(helpers): update localStorage key to use locale date string
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Nov 20, 2024
1 parent f4f9f95 commit ae3a13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/guesses.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MAX_GUESSES } from 'src/constants';

function getDate(): string {
return new Date().toISOString().split('T')[0];
return new Date().toLocaleDateString();
}

function getGuesses(): number {
Expand Down

0 comments on commit ae3a13a

Please sign in to comment.