Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Date display on notes

  • Loading branch information...
commit 75b8a8d020f90756453f8a00313b4db9b8508829 1 parent cefddaa
Aaron Crowder authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/app.js
View
4 js/app.js
@@ -266,7 +266,9 @@ function GetNotes()
notes.query(GetProjectNotes, function(r) {
var i;
for(i = 0; i < r.length; i += 1 ) {
- noteSTR += "<p>" + r[i].body + "<br/><br/><i>Posted On: " + r[i].key + "</i></p>";
+ var date = new Date(r[i].key * 1);
+
+ noteSTR += "<p>" + r[i].body + "<br/><br/><i>Posted On: " + date.toUTCString() + "</i></p>";
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.