diff --git a/src/App.js b/src/App.js index 43cc764..b81de94 100755 --- a/src/App.js +++ b/src/App.js @@ -697,9 +697,8 @@ function App() { const interval = setInterval(()=>{ if (nav==="main"){ var date=new Date() - var earthH=date.getHours(),earthM=date.getMinutes(),earthS=date.getSeconds() - var earthTime=Number(earthH)*3600+Number(earthM)*60+Number(earthS) - var eorzeanTime=earthTime*20.571428571428571428571428571429+49380 + var earthTime=Math.round(Date.now()/1000) + var eorzeanTime=earthTime*20.571428571428571428571428571429 var eorzeanH=Math.floor(eorzeanTime/3600)%24 var eorzeanM=Math.floor(eorzeanTime/60)%60 var eorzeanS=Math.floor(eorzeanTime)%60