JavaScript: Parse a long date into a shorter one
<p>I'm using AJAX to pull in an RSS feed and show a list of items. However the date that comes back is super long and needs to be shorter.</p>

<p>e.g. <code>Mon, 11 Jun 2012 17:53:35 PDT</code> to become just <code>11 Jun 2012 17:53</code></p>

<p>Is it possible to do this with javascript?</p>

<p>The code looks like this currently:</p>

<pre><code>for(var i = 0; i &lt; feed.items.length &amp;&amp; i &lt; 5; i++) {

                            var item = feed.items[i];

                            html += '&lt;li&gt;'
                            + item.updated;

                            html += ' | &lt;span class="title"&gt;'
                            + '&lt;a href="'
                            + item.link
                            + '"&gt;'
                            + item.title
                            + '&lt;/a&gt;'
                            + '&lt;/span&gt;&lt;/li&gt;';

                        }
</code></pre>

<p>So I need to do something to that <code>item.updated</code> object.</p>

<p>I've done a quick search on parsing dates, but not found anything I can make use of.</p>
