diff --git a/src/js/common.js b/src/js/common.js index 285a5e8..66ce7e4 100644 --- a/src/js/common.js +++ b/src/js/common.js @@ -390,7 +390,7 @@ const commonContext = { } const grt = new Date(loveTime) setInterval(function () { - let now = Date.now() + let now = new Date(Date.now()) let difference = parseInt((now - grt) / 1000) let seconds = difference % 60 difference = parseInt(difference / 60) @@ -654,4 +654,4 @@ let timeLifeHour = -1 omits.forEach((c) => commonContext[c] && commonContext[c]()) $('html').addClass('ready') }) -})() \ No newline at end of file +})()