Fix LIL_SERVER_TIME

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent b1fc3e95d7
commit 0c95ce16d0
  1. 4
      project/templates/lilcity/index.html

@ -47,8 +47,8 @@
</script>
<script>
LIL_SERVER_TIME = {% now 'U' %};
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - LIL_SERVER_TIME;
LIL_SERVER_TIME = "{% now 'U' %}";
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - parseInt(LIL_SERVER_TIME);
</script>
</head>

Loading…
Cancel
Save