Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19881

Time clobbered in receive_date and trxn_date for api contribution repeattransaction and completetransaction

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.24, 4.7.15
    • Fix Version/s: 4.7.17
    • Component/s: None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Unlike contribution.create, both contribution.repeattransaction and contribution.completetransaction have their time set to 00:00:00 regardless of user input for receive_date and trxn_date respectively.

      The spec is responsible behavior. I'm hoping we can change it from:

      'type' => CRM_Utils_Type::T_DATE,
      

      to:

      'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
      

      Then we can see information like 2017-01-14 14:40:34 instead of 2017-01-14 00:00:00 in these columns for repeated or completed transactions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peterhartmann Peter Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: