Replaced currentTimestamp function with moment format X.

This commit is contained in:
Mario Basic
2015-06-19 18:03:27 +02:00
parent 97a5070129
commit 78ab4c6273
5 changed files with 189 additions and 240 deletions

View File

@@ -1,10 +0,0 @@
/**
* Returns UNIX timestamp
*
* @returns {number}
*/
function currentTimestamp() {
return Math.round((new Date()).getTime() / 1000);
}
module.exports = currentTimestamp;