How enter datetime in a html date time field

I am trying to enter a value in a date time field while testing.

Here is my date time field

<input id="flightstart" name="flightstart" type="datetime-local" value="" placeholder="Flight start time" class="p-1 border border-grey rounded shadow sm:w-64 md:w-full">

I am trying to enter a value something like this

await page.type('[name="flightstart"]', '2019-01-02 09:45')

but I have also tried

await page.type('[name="flightstart"]', '01/02/2019 09:45')

The question is missing some important information

Does it raise an exception?
Is it typing nothing
Is it typing wrong value?