mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Ranklist since parameterá
This commit is contained in:
parent
bd6bf2de62
commit
1aa2dc656c
2 changed files with 91 additions and 20 deletions
|
@ -258,9 +258,9 @@ function AddUserIdStat(userId) {
|
|||
var m = new Date()
|
||||
const now =
|
||||
m.getFullYear() +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + (m.getMonth() + 1)).slice(-2) +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + m.getDate()).slice(-2)
|
||||
if (uvData[now] === undefined) {
|
||||
uvData[now] = {}
|
||||
|
@ -289,9 +289,9 @@ function AddVisitStat(name) {
|
|||
var m = new Date()
|
||||
const now =
|
||||
m.getFullYear() +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + (m.getMonth() + 1)).slice(-2) +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + m.getDate()).slice(-2)
|
||||
if (vData[now] === undefined) {
|
||||
vData[now] = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue