Skip to content

Commit

Permalink
update dst offset
Browse files Browse the repository at this point in the history
  • Loading branch information
elahmo committed Apr 22, 2024
1 parent 1e2a386 commit f119e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/words.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const isWinningWord = (word: string) => {
}

export const getWordOfDay = () => {
// update to Dec 28, 2023
const epochMs = 1703718000000
// update to Dec 28, 2023, DST off
const epochMs = 1703714400000
const now = Date.now()
const msInDay = 86400000
const index = Math.floor((now - epochMs) / msInDay)
Expand Down

0 comments on commit f119e49

Please sign in to comment.