From 33ba7099354f1e1bd89b96432f01910d7ee13aa7 Mon Sep 17 00:00:00 2001
From: "yogeshwar.g" <yogeshwar.g@vtigersolutions.com>
Date: Fri, 12 Jan 2024 15:40:31 +0530
Subject: [PATCH] #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

---
 modules/Calendar/uitypes/Datetime.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Calendar/uitypes/Datetime.php b/modules/Calendar/uitypes/Datetime.php
index 3b1c244e5..8c72c809e 100644
--- a/modules/Calendar/uitypes/Datetime.php
+++ b/modules/Calendar/uitypes/Datetime.php
@@ -13,7 +13,7 @@ class Calendar_Datetime_UIType extends Vtiger_Datetime_UIType {
 	public function getDisplayValue($value, $record=false, $recordInstance=false) {
 		//Since date_start and due_date fields of calendar can have time appended or removed
 		if($this->hasTimeComponent($value)) {
-			return self::getDisplayDateTimeValue($value);
+			return parent::getDisplayValue($value);
 		}else{
 			return $this->getDisplayDateValue($value);
 		}
-- 
GitLab