[Vtigercrm-developers] uitype 2 in custom module

Richard Hills - Technologywise richard at tw.co.nz
Mon Sep 1 00:36:03 GMT 2014


Just an update on this, I found my time was coming through in the format:
hh:mm(pm):ss

so:
17:00:00 became 05:00pm:00

I have now created a save_module function which deals with this for me, 
however I have a sneaking suspicion that this is not a core vtiger bug 
but something which my module was causing, so I'd love to see some 
feedback on this still. Preferably someone has a very basic module using 
uitype 2 properly for me to see.

I would also like to know if I need to do anything to make the system 
use the users timezone. If this is not standard for uitype 2 then I'd 
also like to know that.


On 01/09/14 10:17, Richard Hills - Technologywise wrote:
> Can anyone provide me with a working example of uitype 2 in a custom 
> module?
>
> It seems no matter what I have changed here, I am unable to get a 
> uitype 2 column to save with any pm time (it always reverts to am).
>
> Thank you
>

-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061



More information about the vtigercrm-developers mailing list