[Vtigercrm-commits] [Vtiger development] #8449: Extremely serious calendar bug in VTiger 6.2.0 makng calendar unusable
Vtiger development
vtiger-tickets at trac.vtiger.com
Thu Apr 30 11:57:23 GMT 2015
#8449: Extremely serious calendar bug in VTiger 6.2.0 makng calendar unusable
-----------------------+------------------------
Reporter: uma | Owner: developer
Type: defect | Status: reopened
Priority: critical | Milestone: 6.3.0
Component: vtigercrm | Version: 6.2.0
Severity: Medium | Resolution:
Keywords: |
-----------------------+------------------------
Changes (by alanbell):
* status: closed => reopened
* resolution: fixed =>
Comment:
Also needs to be modified in modules/Events/models/Field.php
{{{
public function getDisplayValue($value, $record = false, $recordInstance =
false) {
if ($recordInstance) {
if ($this->getName() ==
'due_date'||$this->getName() == 'date_start') {
if($this->getName() == 'due_date'){
$displayValue = $value. ' ' .
$recordInstance->get('time_end');
}elseif($this->getName() == 'date_start'){
$displayValue = $value. ' ' .
$recordInstance->get('time_start');
}
$value =
$this->getUITypeModel()->getDisplayValue($displayValue);
list($dateInUserFormat, $timeInUserFormat,
$AMPM) = explode(' ', $value);
list($hours, $minutes, $seconds) =
explode(':', $timeInUserFormat);
$displayTime .= $hours . ':' . $minutes .
' ' . $AMPM;
return $dateInUserFormat . ' ' .
$displayTime;
}
}
return parent::getDisplayValue($value, $record,
$recordInstance);
}
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8449#comment:5>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list