diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:23 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:23 +0000 |
| commit | c27a1b924a8e07079e7dc8c61923a765df46c9e9 (patch) | |
| tree | bcc2fb017ed8f5f1c8290725009999a16abfbae5 /node_simple.js | |
| parent | 1904de750f421cce9bec21ab89c50ea7a38a37d4 (diff) | |
| parent | 6d8857b2a3774db605f10631e327f152f241834b (diff) | |
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'node_simple.js')
| -rw-r--r-- | node_simple.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node_simple.js b/node_simple.js index eeaf5e5..0290519 100644 --- a/node_simple.js +++ b/node_simple.js @@ -364,6 +364,7 @@ exports.retrieve_userComments_history = function (username, callback) { function doCall() { callback(true, mylist); + console.log("IN NODE SIMPLE: " + mylist); } @@ -717,9 +718,10 @@ exports.get_exam_info_by_ID = function (exam_id, callback) { * where <string> : err ? err_mssg : success_mssg * */ exports.add_comment = function (sol_id, fields, serverCallback) { + var date = new Date(); var Data = { text: fields[0], - date: new Date(), + date: date.toString().slice(0, 24), by: fields[1] }; |
