I am using the ion-datetime pickerformat to allow my user to choose a date and time that will then be submitted to firebase. The problem I am facing is that when they choose their time it appears as UTC time in the picker. It displays correctly when in firebase as well as when it displays on my page so it’s ultimately just an issue within the picker itself I believe.
Here is my code and I am setting my variable checkOutTime to an empty string until the user submits the info.
<ion-datetime displayFormat="MMM DD, YYYY hh:mm a" pickerFormat="MMM DD, YYYY hh:mm a" [(ngModel)]="checkOutTime"></ion-datetime>