Date and time picker broken when creating native app

I’m trying to create a simple form to select a date and time.
But the time picker always displays “invalid value”.

When I’m creating the same form for a a webapp everything seems to work fine.

For me it is in the PWA