Skip to content
Snippets Groups Projects
Commit 38031642 authored by Apparao G's avatar Apparao G
Browse files

#Fixes::158007952::yogeshwar::In the event detail view,although it is of 12...

#Fixes::158007952::yogeshwar::In the event detail view,although it is of 12 hrs format ,created and modified time is displaying in the 24hrs format
parents 5633a5e5 33ba7099
No related branches found
No related tags found
1 merge request!973#Fixes::158007952::yogeshwar::In the event detail view,although it is of 12...
...@@ -13,7 +13,7 @@ class Calendar_Datetime_UIType extends Vtiger_Datetime_UIType { ...@@ -13,7 +13,7 @@ class Calendar_Datetime_UIType extends Vtiger_Datetime_UIType {
public function getDisplayValue($value, $record=false, $recordInstance=false) { public function getDisplayValue($value, $record=false, $recordInstance=false) {
//Since date_start and due_date fields of calendar can have time appended or removed //Since date_start and due_date fields of calendar can have time appended or removed
if($this->hasTimeComponent($value)) { if($this->hasTimeComponent($value)) {
return self::getDisplayDateTimeValue($value); return parent::getDisplayValue($value);
}else{ }else{
return $this->getDisplayDateValue($value); return $this->getDisplayDateValue($value);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment