Ion-datetime ngModel toISODate timezone error


#1

I use customer timezone (with moment js library), so I save always date in utc and I display it in customer timezone.

My problem is when I bind ion-datetime with toISODate format, the result not respect the customer timezone !

Exemple:
saved date (utc) 16:01:00 -> timezone(Europe/Paris) displayed 17:01:00 -> but in ion-datetime I got (16:01)


#2

#3

I am having the same trouble. Ion-datetime didn’t honour the timezone digits in string.
Going to use moment.js to convert first