title: Atom editor: snippet for inserting a timestamp
body: <p>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 same codebase and you need to comment out some code or add a comment.  This way other developers know who did what, and when they did it.  I've found it very useful and wanted to create a snippet to do this.</p>
  
  <p>However, as you can see from the snippet, it's very ugly...JS is not my forte.  Is there a clean way to do this?</p>
  
  <p><code>time</code> => tab => <code>YYYY-MM-DD HH:MM / NAME</code></p>
  
  <pre><code>'.source':
    'Timestamp':
      'prefix': 'time'
      'body': """
        # #{datetime = new Date(); datetime.getFullYear()}-#{(datetime.getMonth()+1)}-#{datetime.getDate()} #{datetime.getHours()}:#{datetime.getMinutes()} / NAME
      """
  </code></pre>