Below is an Atom snippet I was playing with. What I want to do is insert a timestamp with a developer\'s name at the end. This is useful when multiple folks are working on the
For using momentjs
here is minimal example of a snippet: http://jsfiddle.net/jasdeepkhalsa/a0m9s3rc/
HTML & JavaScript - (index.html)
This outputs into the browser's console
:
2014-09-05 15:09 / Dan L
Note: This currently outputs to the browser's F12 developer tool's console using console.log
, which you could change to output to the page with document.write
in the return
statement instead.