Help with ion-datetime

Hey guys

I’m struggling with the new ion-datetime in changing the dates to match my local timezone. The datepicker expects UTC time to be passed into it and then some manipulation has to take place when displaying the date on the app.

Just wondering if someone could show how they do it with a stackblitz assuming they are working in a timezone other than UTC?


The docs states how to do this: ion-datetime: Ionic API Input for Datetime Format Picker

1 Like