Add better date/time parameter documentation.

This commit is contained in:
Jens Schuppe 2018-12-20 11:30:28 +01:00
parent 0f69169561
commit 63c3f79776
4 changed files with 9 additions and 9 deletions

View file

@ -45,7 +45,7 @@ function _civicrm_api3_twingle_donation_Cancel_spec(&$params) {
'title' => 'Cancelled at',
'type' => CRM_Utils_Type::T_INT,
'api.required' => 1,
'description' => 'The date when the donation was cancelled, format: YYYYMMDD.',
'description' => 'The date when the donation was cancelled, format: YmdHis.',
);
$params['cancel_reason'] = array(
'name' => 'cancel_reason',

View file

@ -45,7 +45,7 @@ function _civicrm_api3_twingle_donation_endrecurring_spec(&$params) {
'title' => 'Ended at',
'type' => CRM_Utils_Type::T_INT,
'api.required' => 1,
'description' => 'The date when the recurring donation was ended, format: YYYYMMDD.',
'description' => 'The date when the recurring donation was ended, format: YmdHis.',
);
}

View file

@ -46,7 +46,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
'title' => 'Confirmed at',
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 1,
'description' => 'The date when the donation was issued, format: YYYYMMDD.',
'description' => 'The date when the donation was issued, format: YmdHis.',
);
$params['purpose'] = array(
'name' => 'purpose',
@ -152,7 +152,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
'title' => 'Date of birth',
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0,
'description' => 'The date of birth of the contact, format: YYYYMMDD.',
'description' => 'The date of birth of the contact, format: Ymd.',
);
$params['user_title'] = array(
'name' => 'user_title',