[Vtigercrm-developers] vTiger 6 - DatePicker

Vikas Jain vikas at vtiger.com
Mon Feb 25 05:36:55 PST 2013


Salim,

Your question does not really involve vtiger but needs your understanding
on datepicker, that's why you don't see any response to your question.
Anyways i think the datepicker accepts formats in these forms 'Y-m-d',
'm-d-Y' or 'd-m-Y'.

On 23 February 2013 13:47, salim <salimcmd at gmail.com> wrote:

> Dear Team,
>
>     I am trying to solve this problem from 3 days, still didn't get any
> clue whats going on.
> It would be great if someone can give a clue that what i am doing wrong.
>
> Thanks
> --
> Salim
>
>
> On 22 February 2013 16:39, salim <salim at posibolt.com> wrote:
>
>> Hi Vikas,
>> Thanks for the reply,
>> Could you please help me with this. i have edited *RecentComments.tpl, *and
>> added this lines(mentioned below) in to* <div class="addCommentBlock">*
>> *
>> *
>> {if $MODULE_NAME eq 'CallReport'}
>> <p class="muted pull-left">Date: <input type="text" id="postdate" /></p>
>> <script type="text/javascript" src="initdate.js"></script>
>>
>> {/if}
>>
>> and added this lines to initdate.js
>>
>> $('#postdate').datepicker({dateFormat:'yy-mm-dd'});
>>
>> i can see the datepicker  in comment section, also i can select date from
>> that,
>>
>> but the dateFrormat is not effecting, it shows date as dd/mm/yy format,
>> also its style is broken
>>
>>
>> [image: Inline images 1]
>>
>>
>> What should i have to do to get this widget.?
>>
>> [image: Inline images 2]
>>
>> Thanks
>> --
>> Salim
>>
>
>
>
> --
> Muhammed Abdul Salim
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Regards
Vikas
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130225/1cc0ab92/attachment.html 


More information about the vtigercrm-developers mailing list