Ionic time Picker Usability

Asked

Viewed 67 times

0

1 answer

0

Why don’t you use Ionic’s own Datetime? It already comes with the 24h format option.

https://ionicframework.com/docs/v3/api/components/datetime/DateTime/

<ion-item>
  <ion-label>Date</ion-label>
  <ion-datetime displayFormat="HH:mm" [(ngModel)]="myDate"></ion-datetime>
</ion-item>

In the documentation there is a topic explaining the whole part of date and time formats. (Display and Picker Formats)

  • boss did not like the layout, I even found a cool one, this one: https://www.npmjs.com/package/ngx-material-timepicker/v/2.1.2, but I am not able to put in the format 24h

Browser other questions tagged

You are not signed in. Login or sign up in order to post.