Fix MembershipRenewal.php to use correct date input format (ISO not US date)
requested to merge webmaster_cses_org_uk/membershipreport:webmaster_cses_org_uk-master-patch-23507 into master
Fix MembershipRenewal.php to use correct date input format from CiviCRM form (ISO not US date format).
This MR resolves issue #2 (closed) by changing the processing of input dates to assume ISO format, which is what CiviCRM currently uses, instead of US date format as was assumed previously.
Before change
When attempting to run report with manually selected date range, report fails with the error One of parameters (value: 2019-09-01) is not of the type Timestamp
.
After change
Report runs successfully with manually entered date range.
Testing
Proved working on CiviCRM installation 5.37.0 (see screenshots above).