title: How to alter the display of what Spacebars outputs?
body: <p>So I have something like this in the template:</p>
  
  <pre><code>{{#each posts}}
      &lt;li&gt;{{date}}&lt;/li&gt;
  {{/each}}
  </code></pre>
  
  <p>This displays fine, but the problem is that my "date" variable comes out as <code>Sat Feb 07 2015 19:47:13 GMT-0800 (PST)</code>, which is accurate but kind of long and unneccessary. </p>
  
  <p>I want the date to appear simpler, like <code>February 7, 2015</code> instead. However, please forgive me for my lack of understanding, but the only way in which I know how to do this is to store it in the pretty format to begin with, but this doesn't seem to be efficient if I have to do this every time I want something to look a little different.</p>
  
  <p>Ideally, I'd like to wrap it in a moment() and produce something like this:</p>
  
  <pre><code>moment(date).format("MMMM Do YYYY")
  </code></pre>
  
  <p>I tried putting in this instead, but it doesn't work:</p>
  
  <pre><code>{{#each posts}}
      &lt;li&gt;{{moment(date).format("MMMM Do YYYY")}}&lt;/li&gt;
  {{/each}}
  </code></pre>