This project is read-only.

parseIsoDate issue


On a date value of "2016-08-01T00:00:00" the parseIsoDate function states an invalid date. Date part [8] is null in this case and the function doesn't account for it. Adding a check for null in the conditional statement allows for conversion of the date. The date field in our CRM causing the issue is a Date Only field and the behavior is set to Time Zone Independent.

Existing Line:
parseInt(dateParts[4], 10) - (dateParts[8] == "" || dateParts[8] == "Z" ? 0 : parseInt(dateParts[8]))