Skip to content
Snippets Groups Projects
Commit 8b600231 authored by madhu sr's avatar madhu sr
Browse files

#Fixes::158864948::madhusr::Although user time format is 24hrs,in list view it...

#Fixes::158864948::madhusr::Although user time format is 24hrs,in list view it is displaying in the 12hrs format
parent 0c4c8699
No related branches found
No related tags found
1 merge request!1125#Fixes::158864948::madhusr::Although user time format is 24hrs,in list view it...
......@@ -12,7 +12,8 @@
{strip}
{assign var="FIELD_INFO" value=Vtiger_Util_Helper::toSafeHTML(Zend_Json::encode($FIELD_MODEL->getFieldInfo()))}
{assign var="SEARCH_VALUE" value=$SEARCH_INFO['searchValue']}
{assign var="TIME_FORMAT" value=$USER_MODEL->get('hour_format')}
<div class="">
<input type="text" class="timepicker-default listSearchContributor" value="{$SEARCH_VALUE}" name="{$FIELD_MODEL->getFieldName()}" data-field-type="{$FIELD_MODEL->getFieldDataType()}" data-fieldinfo='{$FIELD_INFO}'/>
<input type="text" data-format="{$TIME_FORMAT}" class="timepicker-default listSearchContributor" value="{$SEARCH_VALUE}" name="{$FIELD_MODEL->getFieldName()}" data-field-type="{$FIELD_MODEL->getFieldDataType()}" data-fieldinfo={$FIELD_INFO}'/>
</div>
{/strip}
\ No newline at end of file
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