Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.7.24
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
When creating a case using the APIv3, the 'start_date' time is truncated.
Ex: create a Case with "start_date = 20170905091234", CiviCRM will respond that the start_date is "20170905000000". It is reproducible using the API Explorer.
in api/v3/utils.php, _civicrm_api3_getValidDate() checks the field type, and according to the XML, the type is 'date' instead of 'datetime'.