Replaced currentTimestamp function with moment format X.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
/**
|
||||
* Returns UNIX timestamp
|
||||
*
|
||||
* @returns {number}
|
||||
*/
|
||||
function currentTimestamp() {
|
||||
return Math.round((new Date()).getTime() / 1000);
|
||||
}
|
||||
|
||||
module.exports = currentTimestamp;
|
||||
Reference in New Issue
Block a user