mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Changed /-s to "-" in date format
This commit is contained in:
@@ -90,9 +90,9 @@ function AddVisitStat(name, subj, newQuestions, allQuestions) {
|
||||
var date = new Date()
|
||||
const now =
|
||||
date.getFullYear() +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + (date.getMonth() + 1)).slice(-2) +
|
||||
'/' +
|
||||
'-' +
|
||||
('0' + date.getDate()).slice(-2)
|
||||
if (vData[now] === undefined) {
|
||||
vData[now] = {}
|
||||
|
||||
Reference in New Issue
Block a user