[Vtigercrm-developers] Bug in Calendar with 12 hour format

Uma S uma.s at vtiger.com
Sat Feb 21 14:53:16 GMT 2015


Hi,

Thanks! for notification we have resolved this issue here in trac
<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8449> ticket.

On Fri, Feb 20, 2015 at 9:26 PM, Conrado Maggi <comaggi at gmail.com> wrote:

> Hi,
>
> I just found a bug in the calendar when the user uses 12 hour format.
>
> Step to reproduce:
>
> 1- Go to calendar en create an event form 5:00PM to 7:00PM
> 2- When you go back to the calendar the event shows as 5:00AM to 7:00AM
> 3- Go to calendar list and you will see the event is correctly save in the
> database.
>
> The problem is that full calendar expect the time in 24hours format.
>
> In both files
> modules/Calendar/actions/Feed.php
> modules/Calendar/actions/SaveAjax.php
>
> You are taking off the AM/PM part but forgot to add the extra 12hours if
> the time is PM.
>
> There should be function in Vtiger_Time_UIType class that convert from
> AM/PM to 24 hours. The meantime I have found attached solution.
>
> Regards,
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150221/6350c13a/attachment.html>


More information about the vtigercrm-developers mailing list