Timezone problems with input[time]


Hi everyone.

I’m getting an inconsistent behavior when trying to correct timezone of an input with type="time". Maybe someone here could help me understand what’s going on.

I have this field:

<input type="time" ng-model="selectedEvent.startTime">

It prompts android’s native time picker.

Then, I print the time in my template using date filter and specifying the timezone:

{{selectedEvent.closingTime | date : 'H:mm' : '-0300'}}

As a result, I get the correct time printed if it’s above 20h (8pm). However if it’s below 20h, it’s printed 1h less.