title: Protractor: testing date text with various formats
body: <p>HTML:</p>
  
  <pre><code>&lt;div id="date"&gt; {{date | date : 'EEE MMM d HH:mm'}} &lt;/div&gt;
  </code></pre>
  
  <p>It displays on the screen at "Tue Sep 30 10:45"</p>
  
  <p>Test:</p>
  
  <pre><code>expect(element(by.id('date')).getText()).toBe("Tue Sept 30 10:45");
  </code></pre>
  
  <p>Fails with: </p>
  
  <blockquote>
    <p>Expected 'Sep 30, 2014 10:45' to be 'Tue Sep 30 10:45'.</p>
  </blockquote>