Wrong date with angular material's date picker
<p>I use the datepicker to pick a date and send it to the server.</p>

<p>When I log the JS value I get the correct result:</p>

<pre><code>Tue Mar 22 2016 00:00:00 GMT+0100 (Mitteleuropäische Zeit)
</code></pre>

<p>but in the ajax request it is</p>

<pre><code>2016-03-21T23:00:00.000Z
</code></pre>

<p>I don't modify the values, just giving the object to angulars http function.</p>

<p>Does Angular need some configuration to handle it?</p>