Template.comment.ago = function(){ var submitted = new Date(this.submitted); return submitted.toString(); };