Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.1
-
Component/s: Core CiviCRM, Internationalisation
-
Labels:None
Description
CRM_Core_BAO_CustomField::addQuickFormElement() uses the same logic to build the display of the Select Date fields, no matter whether they are for viewing or for editing.
This is a bug, as the order of the fields should differ; when the field is being edited, the order should be the one specified in $config->dateformatQfDate (or $config->dateformatQfDatetime), while when viewing, the order should be the one specified in $config->dateformatFull (or $config->dateformatDatetime).
Note that this affects only the display of fields of custom groups that have their own tab; for inline custom groups we manage to display the dates properly.