[Vtigercrm-commits] [vtiger development] #7091: function calDuedatetime() can be simplified
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Jun 9 11:34:33 PDT 2011
#7091: function calDuedatetime() can be simplified
-----------------------+----------------------------------------------------
Reporter: heinz | Owner: developer
Type: patch | Status: new
Priority: minor | Milestone: Unassigned
Component: vtigercrm | Version: 5.0.4
Keywords: calendar |
-----------------------+----------------------------------------------------
The 170 lines of code in the calDuedatetime() function can be
significantly reduced by using the javascript Date object. The attached
5.0.4 patch works for me, but has the following quirks (that aren't issues
for my client):
1. Does not detect if the calculated end date is a different day from the
start date.
2. Does not use different activity lengths for calls and meetings.
3. Does not detect if the date string matches the javascript locale.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7091>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list