javascript - How to timestamp derivative posts or comments to a post? -


I am working on a tutorial and thought it would be good for timestamp comments well.

What is it that the timestamp works for posts, but for the post's derivatives or child, or for the sake of simplicity, we can say comments to them.

As I use firebase, I'm not sure how to put it into a firebase There is a simplified version in the planker. If you know firebird, feel free to write a version that has a hook with firebase .

  http://plnkr.co/edit/QKGMIZWVwjHPrPXATY3U?p=preview  

Appreciate your advice! Thanks!

Miscellaneous infor

Parent post for general, this is what I have done.

in the plunker

  Add: function (post) {this.posts.push ({id: This.posts.length, url: Post.url, Title: post.title, Created: New Date (). ToUTCString ()});   , timestamp: new date (). ToUTCString ()};  

HTML is both for plunkr and actual extent ...

  build time: {{post.created }}  


How should I schedule child posts? Apart from the changes I've made ... see postview.js line 26 to 36 and tab show showostost.html for line 9 to 23.

The firefighter is in the Holy Grimm. Sarwar Value TIMESTAMP You can read here and see an example here:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -