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:
@@ -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] = {}
|
||||
|
Reference in New Issue
Block a user