mirror of
https://github.com/devangthakkar/wordle_archive
synced 2026-01-16 17:04:23 -05:00
move one day back so as to not compete with the actual wordle
This commit is contained in:
@@ -23,7 +23,7 @@ const getDayAnswer = (day_) => {
|
||||
|
||||
const getDay = () => {
|
||||
const today = new Date()
|
||||
const date1 = new Date('6/20/21')
|
||||
const date1 = new Date('6/21/21')
|
||||
const diffTime = Math.abs(today - date1)
|
||||
const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24))
|
||||
return diffDays
|
||||
|
||||
Reference in New Issue
Block a user