I try to parse a date as following: DayPilot.Date.parse("2/27/2019", "M/d/yyyy");
This results in the following error:
daypilot-all.debug.js:4848 Uncaught TypeError: DayPilot.Date.fromYearMonthDay(...).daysInMonth is not a function
at a.parse (daypilot-all.debug.js:4848)
at Function.DayPilot.Date.parse (daypilot-all.debug.js:4340)
To make it more confusing, when I run the example listed here: https://api.daypilot.org/daypilot-date-parse/ everything works fine.
I tried multiple days in February and they all give the same error...
Any help or suggestions is appreciated!