changed new Date().getTime() to Date.now() on server side

This commit is contained in:
Baris Soner Usakli
2013-06-19 21:29:50 -04:00
parent f2dfba33ad
commit 0a0f8a21f0
5 changed files with 10 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ marked.setOptions({
PostTools.edit = function(uid, pid, title, content) {
var success = function() {
RDB.set('pid:' + pid + ':content', content);
RDB.set('pid:' + pid + ':edited', new Date().getTime());
RDB.set('pid:' + pid + ':edited', Date.now());
RDB.set('pid:' + pid + ':editor', uid);
posts.get_tid_by_pid(pid, function(tid) {