'Can't be parsed as format error from Luxon

I have a date 02/03/2022 0600 I'm trying to make a Luxon object like so

DateTime.fromFormat(`${date} ${time}`, 'MM/dd/yyy HHmm'), this results in an error the input "02/03/2022 0600" can't be parsed as format MM/dd/yyy hhmm

It works fine with dates and times separately with the same format. Is Luxon unable to parse dates and times together in this way?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source