diff --git a/modules/Vtiger/actions/ExportData.php b/modules/Vtiger/actions/ExportData.php index ef3a7fc8382143d57b20130788e6162ecaf8f391..454b0d23443543e1695d298e74ac8815a8219ca0 100644 --- a/modules/Vtiger/actions/ExportData.php +++ b/modules/Vtiger/actions/ExportData.php @@ -348,7 +348,13 @@ class Vtiger_ExportData_Action extends Vtiger_Mass_Action { if ($value && $value != '0000-00-00') { $value = DateTimeField::convertToUserFormat($value); } - } elseif($type == 'datetime') { + } /** + * Handled Conversion of time as per custom field time format in exported file + */ + elseif($uitype == 14) { + $timeUIObj = new Vtiger_Time_UIType(); + $value = $timeUIObj->getDisplayValue($value); + }elseif($type == 'datetime') { if ($moduleName == 'Calendar' && in_array($fieldName, array('date_start', 'due_date'))) { $timeField = 'time_start'; if ($fieldName === 'due_date') {