Skip to content
Snippets Groups Projects
Commit de63fef7 authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::158521883::yogeshwar::after checking with the duplicate...

#Fixes::158521883::yogeshwar::after checking with the duplicate prevention,time field is reflecting twice;
parent 1c35a21c
No related branches found
No related tags found
1 merge request!1080"#Fixes::158521883::yogeshwar::after checking with the duplicate prevention,time field is reflecting twice"
......@@ -118,5 +118,11 @@ class Vtiger_Time_UIType extends Vtiger_Base_UIType {
public function getListSearchTemplateName() {
return 'uitypes/TimeFieldSearchView.tpl';
}
public function getDBInsertValue($value) {
if(preg_match('/AM|PM/',$value)){
$value=Vtiger_Time_UIType::getTimeValueWithSeconds($value);
}
return $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