I'm trying out date-fns v2.
I got some errors when I ran:
parseISO("Apr 9, 2020, 12:00:00 am");
or
parseISO("Apr 9, 2020, 12:00:00 am", "MMM M, YYYY, hh:mm:ss aaaa");
but this worked fine:
new Date("Apr 9, 2020, 12:00:00 am");
I'm trying to understand when I should use one or the other but I couldn't find the docs for parseISO().