<div dir="ltr">Richard,<div><br></div><div>In case you are looking to create a field that represents Time,make use of UI type 2 and typeofdata for field as T~O for making it not mandatory,to make it mandatory use typeofdata as T~M.</div>
<div><br></div><div>Regards,</div><div>Rishab</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 8:54 AM, Richard Hills - Technologywise <span dir="ltr"><<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a custom module using uitype 16 and the template Vtiger/uitypes/Time.tpl<br>
<br>
For whatever reason, this is saving all time entries as if they were am, ie 3:25pm becomes 3:25am.<br>
<br>
Can anyone confirm if this is a core bug or not (are you successfully using this uitype in your modules?).<br>
<br>
I will look at releasing the module source at some stage over the next couple of weeks when I have had a chance to clean it up a bit, hopefully if this is not a core bug someone will be kind enough to take a look at this for me at that stage.<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a><br>
<a href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a><br>
ph: +64 (0)7 571 1060<br>
fax: +64 (0)7 571 1061<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div>