How can I deal with the timezone issue with the Angular 4 date pipe? : <p>I have a date value in each of my objects that I can Print like this:</p>

<pre><code>&lt;td&gt; {{competition.compStart }}&lt;/td&gt;
</code></pre>

<p>And here is how it looks: </p>

<pre><code>1931-05-31T00:00:00.000+0000
</code></pre>

<p>In order to change the format to make it more readable I'm using the Angular date pipe: </p>

<pre><code>&lt;td&gt; {{competition.compStart | date : "dd/MM/yyyy"}}&lt;/td&gt;
</code></pre>

<p>With this result: </p>

<pre><code>30/05/1931
</code></pre>

<p>As you can see, It is displaying the previous day (May 30 instead of May 31).</p>

<p>As far as I understand, the problem is related to the timezone, since I'm in Argentina and we have GMT-3 then 00:00 of the 31st minus 3 hours would be May 30 at 9 PM.</p>

<p>So how can I make it take the time literally and not process it based on the timezone, but still apply the format in the pipe?</p>
