Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.2.1
-
Fix Version/s: 4.2.1
-
Component/s: CiviContribute
-
Labels:
Description
There may be other circumstances which are necessary to reproduce the issue.
The date field's "value" attribute is set using a format other than what the datepicker.parseDate function is expecting, which throws an uncaught exception "Unexpected literal at position 2".
Attached patch will just use the builtin Date library to parse the field value.