Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.3
-
Fix Version/s: 4.0.8
-
Component/s: CiviCRM API
-
Labels:None
Description
The deceased_date param in civicrm_contact_create() uses the date syntax "Y-m-d". If the date is unrecognized, it defaults to December 31st, 1969 instead of throwing an error.
The activity_date_time param in civicrm_activity_create() also uses "Y-m-d".
The start_date, end_date params in civicrm_event_create() uses "Ymd".
Suggest standardizing around array('d' => '31', 'M' => '12', 'Y' => '1969') syntax.
Attachments
1.
|
Inconsistent use of setting date in civicrm_note_create() | Done/Fixed | Unassigned |
|