move one day back so as to not compete with the actual wordle

This commit is contained in:
devang
2022-01-10 23:28:57 -05:00
parent b849f5876a
commit 2e53e05917

View File

@@ -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