Releases: vanderbilt-redcap/date-calculated-fields
End Date Field Bug Fix
Negative Dates and Repeating Forms
Now properly handling situations where negative dates cause the calculated date to be from a previous year.
Allowing for saving dates to repeating forms, defaulting to the first instance.
Remove 'redcap_module_link_check_display' Function
Unneeded and incorrect definition of 'redcap_module_link_check_display' function removed.
Further Date Enforcement
More checks on valid date values being provided.
Fix for attempting to save repeated dates to off-form fields
New fix for trying to save multiple off-form date fields.
Side fix to not attempt to save date fields on forms that are locked.
Exception Refactoring
Now not depending on the mysql_xdevapi being present for exception handling.
Fixing a misspelling
Misspelled a call to "Exception" on a line.
Correction to Keep PHP 5.5 Compatibility
Previously a definition of the daysPerMonth array as a constant made the module incompatible with PHP 5.5. This has been changed to allow for compatibility. Version 1.5 is no longer supported and listed in the REDCap Module Repo.
Months Included
Now can use months as unit of date calculations instead of days. REDCap event offsets values will also be calculated in terms of months.
Event End Date Offset
When piping to events and using REDCap's event offset numbers, the end dates now properly read from the 'offset_max' value.