This should be simple but I’m not seeing anything in the API docs as such.
date = '2019-08-15T09:21:00';
async presentDatePicker() {
console.log(this.date);
return this.datePicker.show({
date: this.date,
mode: 'datetime',
}).then(
date => {
this.date = date.toISOString();
console.log(this.date);
},
err => console.log(err)
);
}
The date should read Aug 15, 9:21 AM. Which it does on our web client and in our databases. However, in the picker, it reads Aug 15 4:21 AM. As I understand, it’s doing this because of the time zone offset. But for the intents of this application we don’t care about the time zone, just that the time reports and displays the same on all devices.
Is there a way to disable this feature?