mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
changed new Date().getTime() to Date.now() on server side
This commit is contained in:
@@ -34,7 +34,7 @@ var RDB = require('./redis.js'),
|
||||
'text', text || '',
|
||||
'score', score || 5,
|
||||
'path', path || null,
|
||||
'datetime', new Date().getTime(),
|
||||
'datetime', Date.now(),
|
||||
'uniqueId', uniqueId || utils.generateUUID(),
|
||||
function(err, status) {
|
||||
if (status === 'OK') callback(nid);
|
||||
|
||||
Reference in New Issue
Block a user