mecachisenros / cf-civicrm

Caldera Forms CiviCRM Integration
GNU Affero General Public License v3.0
30 stars 26 forks source link

Change Log Time for Record Created by Caldera Form is under UTC time #167

Open clement8888 opened 4 years ago

clement8888 commented 4 years ago

Describe the bug When creating a CIVICRM record via Caldera Form, the Change Log of the time of record creation is always in UTC time even when PHP and MySQL and WP settings are set to another timezone. This problem goes away when CIVCRM Detailed Logging is turned on. It reverts back to UTC time when Detailed Logging is turn off.

To Reproduce Steps to reproduce the behavior:

  1. Create a record via Calderform/cf-civicrm
  2. Go to the record in CIVICRM
  3. Click the Change Log to see the time recorded for the creation event
  4. If detailed logging is off, then it would report in UTC time. If the detailed logging is on, then it would report in the configured timezone

Expected behavior the reported timing should be in the timezone configured by the CMS regardless of whether detailed logging at CIVICRM is turned on or not.

Screenshots NA

Desktop (please complete the following information): WordPress Version: 5.3.4 PHP Version: 7.2.24-0 ubuntu0.18.04.6 MySQL Version: 5.7.30 Caldera Forms Version: 1.8.10

kelizoliva commented 4 years ago

Ah, yes, looks like this is exactly what we are experiencing. It is causing significant issues for event registrations, for folks registering the day of (a few hours before) an event. Will try to turn on detailed logging to see if this makes a difference for this, however detailed logging is definitely overkill for the civi this is affecting for us, and would prefer to have it turned off.