Why does my time field show seconds and milliseconds (E.g. 5:25:44.792 PM) in my time picker for android 4.2 (physical device)? Is there a way I can force it to exclude seconds and milliseconds (5:25 PM)? iOS device shows 5:25 PM as expected.
Also, is it possible to fix text-right alignment for input=date and input=time so fields appear flush to the right? iOS looks correct, android has a bit of right padding.
Controller:
$scope.formData = {
msm_date: new Date(),
msm_time: new Date(),
msm_rate: null
}
Template:
<ion-item class="item-input">
<span class="input-label">Date</span>
<input type="date" ng-model="formData.msm_date" class="text-right" required>
</ion-item>
<ion-item class="item-input">
<span class="input-label">Time</span>
<input type="time" ng-model="formData.msm_time" class="text-right" required>
</ion-item>
<ion-item class="item-input">
<span class="input-label">L/min</span>
<input type="tel" ng-model="formData.msm_rate" class="text-right" placeholder="0" required numbers-only>
</ion-item>