HTML5 Date Component Bug

In the last Ionic versions the Date HTML5 component has been modified on behaviour and it returns a total description of the date requested, but It has a BUG because it returns the description of the day BEFORE!!! Who can solve this great problem?

The component is this:

  <label class="item item-input">
  <span class="input-label">Date</span>
  <input type="date">