Skip to content
GitLab
  • Explore
  • Sign in
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #1832

Activity receive_date is incorrectly updated to now when importing historical transactions

Contribution receive_date is incorrectly updated to now when importing historical transactions, see #1831 (closed) for more context.

Adding this line to addActivity() in CRM/Activity/BAO/Activity.php seems to fix:

$date = CRM_Utils_Date::isoToMysql($activity->register_date);

https://github.com/civicrm/civicrm-core/blob/master/CRM/Activity/BAO/Activity.php#L1708

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking