Update words.ts
This commit is contained in:
parent
7cd4195233
commit
cf5c8ec933
1 changed files with 1 additions and 5 deletions
|
@ -14,10 +14,6 @@ export const isWinningWord = (word: string) => {
|
|||
|
||||
export const getWordOfDay = () => {
|
||||
// January 1, 2022 Game Epoch
|
||||
const epochMs = 1641013200000
|
||||
const now = Date.now()
|
||||
const msInDay = 86400000
|
||||
const index = Math.floor((now - epochMs) / msInDay)
|
||||
|
||||
return {
|
||||
solution: WORDS[0].toUpperCase(),
|
||||
|
|
Loading…
Add table
Reference in a new issue