From ae3a13a85fa7c17d101680fa9e194a074d5683ad Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 19 Nov 2024 21:14:02 -0500 Subject: [PATCH] fix(helpers): update localStorage key to use locale date string --- src/helpers/guesses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/guesses.ts b/src/helpers/guesses.ts index b55a0f9..bc22730 100644 --- a/src/helpers/guesses.ts +++ b/src/helpers/guesses.ts @@ -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 {